Forum Moderators: coopster

Message Too Old, No Replies

my pictures won't display! please help

         

guzzi

8:10 am on Jun 7, 2004 (gmt 0)

10+ Year Member



i am currently working on a project that has a deadline for the end on this month, i've created the entire site with no pictures, only focusing on the text functionality and code. once i finished the draft project i start inserting images into the html code and started designing the site (using dreamweaver mx on windows xp, with mysql, phptriad). when i test the site none of the picutres show up! what's wrong? is there something in the php.ini that must be configured?
is the extra modules that have to be installed? please help me i'm desparate!

thedagda

12:58 pm on Jun 7, 2004 (gmt 0)

10+ Year Member



Can you post an example of the code? I'm going to guess that the problem is in HTML code and probably has to due with the paths of your site.

ie. <img src="images/foo.gif"> instead of <img src="../images/foo.gif">

HTH,

Conor

lorax

3:06 pm on Jun 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Perhaps it's obvious but have you verified file permissions on the image files?

guzzi

3:32 pm on Jun 7, 2004 (gmt 0)

10+ Year Member



a sample of my code looks like
<img src = "foo.gif">, the php/html page are in the same directory as my picture so i shouldn't have to put anything else in (ie. <img src = "images/foo.gif">)i don't understand, how does one verified file permissions on the image files?

lorax

3:43 pm on Jun 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



>> i don't understand, how does one verified file permissions on the image files

Use your FTP client. Most of them have the ability to check permissions (AKA: file attributes). You need to make sure the image files can be read by Public.

m_shroom

4:48 pm on Jun 7, 2004 (gmt 0)

10+ Year Member



Some brousers do not display images unless you include the hieght and width atributes, and don't foget your alt tag.
<img src = "foo.gif" hieght="xx" width="xx" alt="****">

vincevincevince

4:53 pm on Jun 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What if you call the image file directly in your browser:

[widgetsdomain.com...]

Does it then show up?

guzzi

7:30 am on Jun 8, 2004 (gmt 0)

10+ Year Member



the site is locally being developed on my machine, so image permissions shouldn't be a hassel, when i insert a picture through dreamweaver the height and width tags are already there as for the alt tag i've never had any problem with it before but i tried it and it also didn't work. if i type in <img src = "http://www.mysite.com/images/foo.gif" then the picture does not show at all when i develop the site on my pc, i know this because when i define another html site in dreamweaver for test purposes none of the images display at all

guzzi

7:32 am on Jun 8, 2004 (gmt 0)

10+ Year Member



oh, by the way, thanx for all the replies and help so far guys :)

vincevincevince

9:55 am on Jun 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



check there isn't a BASE HREF line near the top of the page. if there is, delete it