Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-18 19:53:29

Jaro
Member
From: S/F
Registered: 2004-11-18
Posts: 89

How do I disable automatic thumbnail creation?

From version 4.0.4 TXP remembers the size of the previously created thumbnail and applies it to every new uploaded image. How can I disable this function completely? I don’t want thumbnails being created. Thanks!

Offline

#2 2008-02-18 19:55:20

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: How do I disable automatic thumbnail creation?

just remove the width/height attributes for the thumbnail size.

Offline

#3 2008-02-18 20:02:34

Jaro
Member
From: S/F
Registered: 2004-11-18
Posts: 89

Re: How do I disable automatic thumbnail creation?

Doesn’t work. It will still keep the old thumbnail and will also create a thumbnail for every new uploaded picture. Using 4.0.4.

Offline

#4 2008-02-18 20:13:54

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: How do I disable automatic thumbnail creation?

hmm you’re right. tested on 4.0.6 and the values just seem to stick. i could have sworn it worked before. i’ll take a look but im sure someone else will also chime in soon.

Last edited by iblastoff (2008-02-18 20:14:19)

Offline

#5 2008-02-18 20:57:23

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

Re: How do I disable automatic thumbnail creation?

Set the thumb_w and thumb_h preferences to 0 in the advanced preferences.

Offline

#6 2008-02-18 21:07:19

Jaro
Member
From: S/F
Registered: 2004-11-18
Posts: 89

Re: How do I disable automatic thumbnail creation?

ruud, do you mean in the admin tab – preferences (advanced)? if so, i can’t find such an option there.

also setting thumbnail widht and size to zero in the image edit options won’t do the trick.

Offline

#7 2008-02-18 21:44:32

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: How do I disable automatic thumbnail creation?

If there isn’t that option in preferences, then you could remove vals from thumb_w, thumb_crop and thumb_h in DB (with phpmyadmin) and it wouldn’t make thumbails automatically anymore.

Last edited by Gocom (2008-02-18 21:44:59)

Offline

#8 2008-02-18 21:58:49

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: How do I disable automatic thumbnail creation?

ruud wrote:

Set the thumb_w and thumb_h preferences to 0 in the advanced preferences.

i dont see these settings in admin->advanced preferences either (running v. 4.0.6)

setting blank or 0 for width and height in the image tab does nothing either. i’m quite sure it did work fine in 4.0.5?

Offline

#9 2008-02-18 21:59:55

Jaro
Member
From: S/F
Registered: 2004-11-18
Posts: 89

Re: How do I disable automatic thumbnail creation?

Gocom wrote:

If there isn’t that option in preferences, then you could remove vals from thumb_w, thumb_crop and thumb_h in DB (with phpmyadmin) and it wouldn’t make thumbails automatically anymore.

Tried that, didn’t work. Thumbnails are still created.

Offline

#10 2008-02-18 22:11:00

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: How do I disable automatic thumbnail creation?

i just tried gocoms method and it worked for me. so hmm. although thats hardly an acceptable solution and i think would be considered a bug? if i set thumbnail width/height in the image tab to blank or 0, then it should remember that setting but it doesn’t. i definitely remember this working in 4.0.5 at least though. i’ll doublecheck..

Last edited by iblastoff (2008-02-18 22:13:17)

Offline

#11 2008-02-18 23:01:36

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: How do I disable automatic thumbnail creation?

iblastoff wrote:

i dont see these settings in admin->advanced preferences either (running v. 4.0.6)
setting blank or 0 for width and height in the image tab does nothing either. i’m quite sure it did work fine in 4.0.5?

I have a 4.0.5 install and there’s no such option in the advanced prefs. Automatic thumbnail creation doesn’t work either – it’s sorely missed.

Where did it go?

Offline

#12 2008-02-19 07:57:21

Jaro
Member
From: S/F
Registered: 2004-11-18
Posts: 89

Re: How do I disable automatic thumbnail creation?

iblastoff wrote:

i just tried gocoms method and it worked for me. so hmm. although thats hardly an acceptable solution and i think would be considered a bug? if i set thumbnail width/height in the image tab to blank or 0, then it should remember that setting but it doesn’t. i definitely remember this working in 4.0.5 at least though. i’ll doublecheck..

Yes, seems like a bug to me as well. Could some of the developers comment on this? I’ll create a new bug report if needed.

Offline

Board footer

Powered by FluxBB