Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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.
Sam Brown
sambrown.me | welovetxp.com
Offline
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
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)
Sam Brown
sambrown.me | welovetxp.com
Offline
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
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! :)
Sam Brown
sambrown.me | welovetxp.com
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
Re: Stop Upload Image from creating a Thumbnail?
No,
Version 4.0.5. also includes opinion to make thumbails automatically.
- Is there txp_image-table and field thumbnail in database?
- Have you installed any admin-side plugins?
- 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
Re: Stop Upload Image from creating a Thumbnail?
Probably yes, because GD is used to transform images.
Offline
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
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
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)
Sam Brown
sambrown.me | welovetxp.com
Offline