You are here: Re: problem displaying images as thumbnails « All PHP « IT news, forums, messages
Re: problem displaying images as thumbnails

Posted by Ian Davies on 10/18/05 23:02

Thanks
Trial and error brought me to the same conclusion
I will remember this
Ian

"Ewoud Dronkert" <firstname@lastname.net.invalid> wrote in message
news:dnkal1dq7cdv9guufjef957h5kblpd2bqf@4ax.com...
> Ian Davies wrote:
> > $Image ='images/PupilTester/nopicture.bmp';
>
> Bad idea to use a BMP on the web. Try PNG (or GIF).
>
> > $size = getimagesize($image);
>
> Variable names are case sensitive! Use $image or $Image consistently.
>
> > <td rowspan="5" valign="top"><div align="left"><img src=<?php echo
$Image;
> > ?> width= <?php echo "$width"?> height= <?php echo "$height"?>>
>
> Use quotation marks to enclose tag parameter values in HTML, but not when
> echoing PHP variables:
>
> <img src="<?php echo $Image; ?>"
> width="<?php echo $width; ?>"
> height="<?php echo $height; ?>">
>
> --
> E. Dronkert

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация