Page 1 of 1

phpThumb displayed correctly the first time...

Posted: Tue Sep 06, 2005 9:23 am
by Kaervek
im trying to use a script called phpThumb to generate thumbnails of pictures for an online photo album...

and if i can get it working ima use it for a lot of other things

so i finally got phpThumb to find the proper files and generate a thumbnail... the first time i loaded the page up all the thumbnails generated perfectly. but now the damn webserver thinks it has a cached copy of the thumbnail when the page is loaded... for some reason the cached copy doesnt exist, and the server cant serve it, nor does it serve the newly generated one from phpThumb. all i get is a page full of red x's

so i put in a meta tag for no-cache and the damn thing still does the same thing.

i have the first thumbnail set so that when i click it it tries to open the thumbnail in its own page. and it even shows the error page where the webserver is trying to send the cached copy... here it is:

Not Found
The requested URL /cache/phpThumb_cache_..%2FTabard2.jpg_w100_1109861667_q75.jpeg was not found on this server.

--------------------------------------------------------------------------------

Apache Server at http://www.cs.mun.ca Port 80


EVEN THOUGH i have all these in my header

<META HTTP-EQUIV='CACHE-CONTROL' CONTENT='NO-CACHE'>
<META HTTP-EQUIV='Pragma' CONTENT='no-cache'>
<META HTTP-EQUIV='Expires' CONTENT='-1'>

i use IE, got a friend to test it in firefox... its broken in both
can anyone help me please

i have sent an email to the author of phpThumb but i have little hope that he'll reply.

Posted: Tue Sep 06, 2005 9:34 am
by Kaervek
ok so i just figured out i am about this | | much more resourcefull than i thought i was

it turns out that phpThumb actually saves cached copies of the thumbnails itself. i found the files on my site. So its just that the webserver is looking for them in the wrong place. i guess phpThumb assumes that it is in the root folder? or is it that it simply assumes it is in the same folder as the html document?

can anyone clarify this for me?