This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > September 2005 > php site slow download of thumbnails





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author php site slow download of thumbnails
Matt Lauder Photo

2005-09-14, 7:15 am

Hi,

A mate of mine has designed for me a nice PHP site for my landscape
photography, when in the Admin section I upload a 100k image file that is
used on the main image display page. This same file is then downsized and
used on the gallery page as a thumbnail.

My problem is that the tumbnail downloads very slowly and it is because it
is at 100k.

Is their any way that PHP can change the image quality size so i dont have
this problem. Currently my old HTML site has the thumbnails at 15k and they
look fine.

Thanks

Matt.


Michael Fesser

2005-09-14, 7:17 pm

..oO(Matt Lauder Photo)

>A mate of mine has designed for me a nice PHP site for my landscape
>photography, when in the Admin section I upload a 100k image file that is
>used on the main image display page. This same file is then downsized and
>used on the gallery page as a thumbnail.


It's resized with HTML? Bad idea.

>My problem is that the tumbnail downloads very slowly and it is because it
>is at 100k.
>
>Is their any way that PHP can change the image quality size so i dont have
>this problem.


Sure.

LV. Image Functions
http://www.php.net/manual/en/ref.image.php

Also you should make sure the thumbnail images are cached on the server
and not created again and again.

Micha
E. T. Culling

2005-09-14, 7:33 pm

Maybe this would help:
The original image can appear in the current browser window or, if you have E. Michael Brandt's Just So Picture Window installed, in it's own window. Ask me for the extensiom if you wish. I can not longer find the link on the net.
Eleanor
"Matt Lauder Photo" <mattlauder@optusnet.com.au> wrote in message news:dg8p04$7kv$1@forums.macromedia.com...[color=darkred]
> Hi,
>
> A mate of mine has designed for me a nice PHP site for my landscape
> photography, when in the Admin section I upload a 100k image file that is
> used on the main image display page. This same file is then downsized and
> used on the gallery page as a thumbnail.
>
> My problem is that the tumbnail downloads very slowly and it is because it
> is at 100k.
>
> Is their any way that PHP can change the image quality size so i dont have
> this problem. Currently my old HTML site has the thumbnails at 15k and they
> look fine.
>
> Thanks
>
> Matt.
>
>

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews