You are here: Re: Image displaying « PHP Programming Language « IT news, forums, messages
Re: Image displaying

Posted by ljuljacka on 10/08/06 13:19

The thing I'm trying to get is to display images as thumbnails without
actually saving them, and the script does that but only with the first
image.
When I echo $filename[$i] inside the for loop it displays all file
locations.
When I removed imagedestroy() from script, it still does the same...
So the problem is displaying other images.

If this answer is funny it's because I don't know if I understood you
correctly :)

"ZabMilenko" wrote in message :
>It looks as if you are creating the second image, but not saving it
>anywhere.
>
> This generates an image: imagejpeg($image_p, null, 100)."\n";
>
> But what about $image? You do a copyresampled then destroy it. If you
> want to save the image, pass the second argument to imagejpeg.
>
>

 

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

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