|
Posted by Sherm Pendley on 07/06/07 19:40
zorro <zorro@taniere.fr> writes:
> Sherm Pendley a écrit :
>> Adrienne Boswell <arbpen@yahoo.com> writes:
>>
>>> Gazing into my crystal ball I observed zorro <zorro@taniere.fr>
>>> writing in news:468e7c48$0$19901$426a34cc@news.free.fr:
>>>
>>>> I am going to see if PHP can get access to the header of the jpg
>>>> and get the width and height of the picture.
>>> Yes, it can.
>>
>> With the appropriate options enabled, it can also resize the images on the
>> server, either when they're uploaded or when they're served to visitors. As
>> Jukka said, that's a *far* better option than relying on the browser to do
>> the resizing.
>>
> You mean, as the images are frequently resized, make PHP resize and not JS?
No, I mean you should do that with PHP because browsers do a horrible job of
it for some reason. Also, there's no reason your users should have to wait
for a full-size 100Kb download, when all they're really going to see is a
little thumbnail that could have been delivered in a fraction of the time.
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Navigation:
[Reply to this message]
|