Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-21 03:35:35

jauhari
Member
Registered: 2007-05-24
Posts: 97
Website

Why I can't update my Thumbnail?

I was successfully edit my original images, but why every time I try to update my thumbnail never success.
Whats wrong? I try to resize my thumbnail and nothing happen too

Please help

(Edit: changed the subject line a little bit. -Els)

Last edited by els (2007-06-21 19:10:13)

Offline

#2 2007-06-21 03:45:09

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Why I can't update my Thumbnail?

Chances are that your browser has the original one cached.

Offline

#3 2007-06-21 03:49:15

jauhari
Member
Registered: 2007-05-24
Posts: 97
Website

Re: Why I can't update my Thumbnail?

I don’t know what your mean, can you explain more?

Offline

#4 2007-06-21 04:08:42

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Why I can't update my Thumbnail?

Offline

#5 2007-06-21 04:09:33

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Why I can't update my Thumbnail?

Mary means that your browser is storing an older version of the thumbnail (so it doesn’t have to download the thumbnail again). Do you get a “Image/Thumbnail successfully updated” message after you update the thumb?

Offline

#6 2007-06-21 04:31:32

jauhari
Member
Registered: 2007-05-24
Posts: 97
Website

Re: Why I can't update my Thumbnail?

No… I was try to refresh with detail image and nothing happen..
I try to resize old thumbnail and doesn’t work too.

What’s wrong

Offline

#7 2007-06-21 09:27:02

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Why I can't update my Thumbnail?

Did you clear your cache? What do you mean by “doesn’t work”?

Offline

#8 2007-06-21 19:04:29

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Why I can't update my Thumbnail?

I have encountered the same problem. The existing thumbnail was not replaced by the new (either uploaded or created) one. Deleting the actual file (123t.jpg) from the /image directory helped. But I never understood why it wasn’t replaced in the first place.
(Sorry, that was a while ago and I don’t remember details, like server settings, php version or the like.)

Offline

#9 2007-06-22 00:25:08

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Why I can't update my Thumbnail?

I experience it too, and resolve it just by forcing a refresh (Ctrl-F5). It’s simply that the browser doesn’t think the file should be re-downloaded. I’ll look into seeing what we can do about it.

Offline

#10 2007-06-22 07:32:11

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Why I can't update my Thumbnail?

Should be easy to fix by adding ?unixtime_in_seconds after the image URL.

edit: on second thought… is CTRL-F5 preferred in this case over having all the thumbs reload each and every time you view them on the admin side?

Last edited by ruud (2007-06-22 18:29:28)

Offline

#11 2007-06-22 16:40:49

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Why I can't update my Thumbnail?

Mary wrote:

I experience it too, and resolve it just by forcing a refresh (Ctrl-F5).

I’m sorry Mary, but even clearing the cache didn’t work for me at the time (that is the first thing I try in similar cases).

Offline

#12 2007-06-22 17:36:50

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Why I can't update my Thumbnail?

In that happens again, can you check the modification time of the thumbnail file using your FTP client or try loading it directly: http://example.com/images/1t.jpg?random_number
That should always give you the correct image.

Offline

Board footer

Powered by FluxBB