Posted by Oli Filth on 10/18/05 22:21
Ian Davies said the following on 18/10/2005 20:14:
> Hello
> Im having problems displaying my images as thumbnails in a table. My code
> for producing the new width and height from the original image is as follows
<...SNIP CODE...>
>
> and in my table to display the thumbnail I have
>
> **************************************************************
> <td rowspan="5" valign="top"><div align="left"><img src=<?php echo $Image;
> ?> width= <?php echo "$width"?> height= <?php echo "$height"?>>
> </div></td>
> </tr>
> ****************************************************************
> However the images are not showing at all. The cells of the table are blank.
> But if I use
>
> *********************************************
> <td><img src=<?php echo $Image; ?>></td>
> </tr>
> *******************************************
> The images show full size as normal. Can anyone see where Ive gone wrong
>
Wouldn't the simplest thing to do be to look at the HTML source in the
browser, and ensure that the correct HTML is being output by PHP? If it
isn't, then correct PHP code accordingly...
--
Oli
Navigation:
[Reply to this message]
|