Wamp Server and JPG file issues
Posted by: gboy (---.3g.vodacom.co.za)
Date: March 08, 2008 05:55PM

hi,

I have written a script, that gets a jpg file.

for some reason the image does not display, i get the "alt" text, the html output is correct,

I invesitaged the options, if i go [localhost] i eather get fobibbin = firefox, or this jpg contains a error and cannot be displayed = IE7

the jpg is fine, this is a odd error

pls help

thanks

Options: ReplyQuote
Re: Wamp Server and JPG file issues
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: March 08, 2008 06:08PM

post up ur script

Options: ReplyQuote
Re: Wamp Server and JPG file issues
Posted by: gboy (---.3g.vodacom.co.za)
Date: March 08, 2008 06:31PM

echo '<td width="250" height="250">';

echo '<img src="Business_Logos\1.jpg" alt="there should be a picture hear" width="250" height="250"/> </td>';

echo '<td><div class="feature">';

with or without the "\" before the Business_logos

Options: ReplyQuote
Re: Wamp Server and JPG file issues
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: March 08, 2008 06:39PM

try this


<?php
echo '<img src="Business_Logos/1.jpg" alt="there should be a picture hear" width="250" height="250"/>';

?>


and make sure ur folder name is right and ur \ should be /



Edited 1 time(s). Last edit at 03/08/2008 06:40PM by stevenmartin99.

Options: ReplyQuote


Sorry, only registered users may post in this forum.