Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Problems with images displaying...
Previous Previous
 
Next Next
New Post 5/30/2008 9:44 AM
Resolved
User is offline cs6505
18 posts
10th Ranked


Problems with images displaying... 

Hi all. I am using the following code in a custom module...

 

<asp:Image runat='server' ID='imgRed' ImageUrl='../../Images/StatusRed.gif' AlternateText='Callback overdue' />

the problem is that the image does not appear. I have confirmed the path is correct. I also tried...

<img src='images/StatusRed.gif' alt='Callback overdue'  />

but neither one of them would work. Does DNN handle image tags differently or am I just missing something?

thanks for and help or advice,

Chris

 
New Post 5/30/2008 11:31 AM
User is offline Bryan Young
7 posts
www.stopdev.com
10th Ranked


Re: Problems with images displaying... 

Maybe this is too simple, but have you tried:

<asp:Image runat='server' ID='imgRed' ImageUrl="~/Images/StatusRed.gif" AlternateText='Callback overdue' />

In my modules, I usually point to the images like this: ImageUrl="~/DesktopModules/MyModule/MyGif.gif"

Bryan

 
New Post 6/2/2008 7:33 AM
User is offline cs6505
18 posts
10th Ranked


Re: Problems with images displaying... 

Thanks for the response Bryan. I tried it the way you suggested but I am still getting the same issue. The image is not showing up.

Any other ideas?

thanks,

Chris

 
New Post 6/2/2008 9:06 AM
User is offline cs6505
18 posts
10th Ranked


Re: Problems with images displaying... 

I just noticed something...

I selected properties on the image that was missing and noticed the path was:

http://localhost:4146/PCMT_Portal_DEV/CallScreen/images/Valid_No.gif

Shouldn't it be something like

http://localhost:4146/PCMT_Portal_DEV/images/Valid_No.gif

The CallScreen is the folder the actual page resides in.

Any suggestions?

thanks for your time,

Chris

 
New Post 6/2/2008 9:34 AM
User is offline Dario Rossa
358 posts
www.dariorossa.it
8th Ranked




Re: Problems with images displaying... 

Hi Chris,

when I face this kind of problem I usually work like this: set the image width and height so that a blank border surrounding the image will appear showing a broken link icon:

<img src="mypic.gif" height="100px" weight="200px" alt="my pic" />

then browse to the module and right-click on the blank image, on property listing check the url, this will give you a useful tip on what's wrong.

Best regards,
Dario Rossa


Dario RossaDario Rossa
Personal WebSite: http://www.dariorossa.it
DotNetNuke: http://dotnetnuke.dariorossa.it
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Problems with images displaying...
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


ExactTarget Email Marketing Software and Solutions
ExactTarget delivers on-demand email software solutions for permission-based email marketing. ExactTarget offers solutions that meet the needs of all industry verticals and all size organizations, including SMB, corporate divisions, not-for-profits, large retail/direct marketers, agencies and enterprises.
ExactTarget.com
Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca
MaximumASP
MaximumASP provides a wide array of web hosting plans to fit any hosting need. We also provide software and services needed to keep it running optimally.
MaximumASP.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP