Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-08-16 10:23:52

Sam
Member
From: New York City
Registered: 2004-06-26
Posts: 127
Website

Stop Upload Image from creating a Thumbnail?

Is it possible to stop the Upload Image process from creating a thumbnail of my uploaded image?

I recently created a new TXP install and realised by default, uploading an image will not create a thumbnail.

However, if you enter any values into this field and hit Create you are forever more stuck with having to delete any unwanted uploaded images thumbnails.

Any ideas on how to stop the Upload Image process from creating this thumbnail by default? I have no need for them and have to manually delete it everytime I upload an image.

Thanks.

Offline

#2 2007-08-16 10:48:21

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

Re: Stop Upload Image from creating a Thumbnail?

Assuming you have TXP version 4.0.5 -> go to the advanced preferences (admin -> preferences -> advanced) and empty the thumbnail width/height settings (thumb_w, thumb_h)

Offline

#3 2007-08-16 10:51:55

Sam
Member
From: New York City
Registered: 2004-06-26
Posts: 127
Website

Re: Stop Upload Image from creating a Thumbnail?

ruud, I do have 4.0.5, but I do not see those options in the Advanced Preferences. That is the first place I looked.

Any idea why I wouldn’t be seeing those options?

Last edited by Sam (2007-08-16 10:52:21)

Offline

#4 2007-08-16 11:04:27

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

Re: Stop Upload Image from creating a Thumbnail?

If you know how to use PHPmyadmin, can you check if these fields are present in the txp_prefs table?

Offline

#5 2007-08-16 12:48:08

Sam
Member
From: New York City
Registered: 2004-06-26
Posts: 127
Website

Re: Stop Upload Image from creating a Thumbnail?

Hi Ruud,

Nope, those fields are not present in the txp_prefs table.

Thanks for your continued help with this problem! :)

Offline

#6 2007-08-17 15:45:08

Phlip
Member
Registered: 2005-03-10
Posts: 36

Re: Stop Upload Image from creating a Thumbnail?

I’ve just installed 4.0.5, and when I upload an image, I only have the option to upload a thumbnail, no option for txp to create one for me. Is this feature lost in 4.0.5?

Offline

#7 2007-08-17 16:08:50

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

Re: Stop Upload Image from creating a Thumbnail?

No,

Version 4.0.5. also includes opinion to make thumbails automatically.

  1. Is there txp_image-table and field thumbnail in database?
  2. Have you installed any admin-side plugins?
  3. What diagnostics says?

Cheers!

Last edited by Gocom (2007-08-17 16:10:00)

Offline

#8 2007-08-17 16:27:30

Phlip
Member
Registered: 2005-03-10
Posts: 36

Re: Stop Upload Image from creating a Thumbnail?

I don’t have any plugins installed, not sure how to check tables/fields in the db, but my diagnostics says: GD Image Library: unavailable
Is that the problem?

Offline

#9 2007-08-17 16:47:24

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

Re: Stop Upload Image from creating a Thumbnail?

Probably yes, because GD is used to transform images.

Offline

#10 2007-08-17 16:51:05

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

Re: Stop Upload Image from creating a Thumbnail?

Phlip wrote:

I don’t have any plugins installed, not sure how to check tables/fields in the db, but my diagnostics says: GD Image Library: unavailable
Is that the problem?

eek. what version of php are you running? GD has been part of php since version 4.3. if its a local server just double check to make sure your gd extension is enabled.

Last edited by iblastoff (2007-08-17 16:52:26)

Offline

#11 2007-08-17 16:52:01

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

Re: Stop Upload Image from creating a Thumbnail?

Yes, it is big problem. With out GD Image Library you cannot make thumbails. It have to be part of PHP and enabled.

Cheers!

EDIT. ruud was faster, again… (I’m so slow) :P

Last edited by Gocom (2007-08-17 16:53:15)

Offline

#12 2007-08-17 16:56:31

Sam
Member
From: New York City
Registered: 2004-06-26
Posts: 127
Website

Re: Stop Upload Image from creating a Thumbnail?

Back to my original question, I found the values in the database, can I safely delete the rows thumb_w, thumb_h, & thumb_crop?

Last edited by Sam (2007-08-17 16:58:36)

Offline

Board footer

Powered by FluxBB