Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-01-26 14:54:26
- stef25
- Member
- Registered: 2005-12-26
- Posts: 88
batch resize thumbnails, or batch recreate thumbnails
all my thumbs (about 400 images) are now 80 × 80 px but i want to resize them to 160 × 160. if there a way of doing this in batch? could i edit directly in phpmyadmin? my worry is that this will increase the size of the thumb (resulting in bad image quality), rather than create a new thumb from the full size.
I need someone to protect me from all the measures they take in order to protect me
Offline
#2 2007-01-26 21:04:57
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: batch resize thumbnails, or batch recreate thumbnails
could i edit directly in phpmyadmin? my worry is that this will increase the size of the thumb (resulting in bad image quality), rather than create a new thumb from the full size.
Yes, that is what that would do.
A plugin could do this, but I don’t believe one exists.
Offline
Re: batch resize thumbnails, or batch recreate thumbnails
You could download your images form your /images-folder through FTP, do a batch resize in Photoshop to create 160×160 thumbnails, rename them by adding a -t behind the number and re-upload them. I guess that should work…
…Prrrrrrrr…
Offline
#4 2007-01-29 16:34:16
- stef25
- Member
- Registered: 2005-12-26
- Posts: 88
Re: batch resize thumbnails, or batch recreate thumbnails
where in the tables is the size of the thumbs specified? in the images table it just says “thumbnail” with a 1 or 0 value. when i change the value of the thumbnail size, will this recreate all thumbnails to the new size?
I need someone to protect me from all the measures they take in order to protect me
Offline
Re: batch resize thumbnails, or batch recreate thumbnails
TXP does not store the Thumbnail dimensions. The built in thumbnail tags either run a getimagesize()
to fetch the dimensions or don’t output the dimensions at all. So you could just recreate the thumbnail files and re-upload them.
Last edited by hakjoon (2007-01-29 18:49:26)
Shoving is the answer – pusher robot
Offline
Re: batch resize thumbnails, or batch recreate thumbnails
For resizing and batch renaming, I highly recommend Xnview.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: batch resize thumbnails, or batch recreate thumbnails
@hcgtv: I tried that program, but it won’t run on my Mac (OS X latest Tiger version). I double-click the icon, it starts to run but after two seconds, it closes itself. You didn’t have these problems?
…Prrrrrrrr…
Offline
Re: batch resize thumbnails, or batch recreate thumbnails
TNT,
I run 1.82.4 on Windows and have no problems. The version for Unix is 1.70 and it may have it’s issues, I don’t know, haven’t tried it. Pierre has promised to update the Unix port after 1.90 comes out for Windows, which should be tomorrow if RC3 proves to bug free.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
#9 2007-01-29 23:15:32
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: batch resize thumbnails, or batch recreate thumbnails
hakjoon wrote:
TXP does not store the Thumbnail dimensions. The built in thumbnail tags either run a
getimagesize()
to fetch the dimensions or don’t output the dimensions at all. So you could just recreate the thumbnail files and re-upload them.
That is excellent information – thanks for posting! :)
By the way, I use iview media on the Mac, work’s great for this sort of thing.
Offline