Rebuild thumbs does not work
Rebuild thumbs does not work
Hi,
I want to make bigger thumbs of my images, so I changed the thumbnail size to 180. When I start Rebuild Thumbs I get the following message:
Synchronizing the database with the image folder
Skipping file: .empty not readable.
Done (Synchronized 0 images).
Resizing
Done (resized 0 images).
I made the .empty file in /uploads readable, but still the same result.
Does anybody know what is wrong?
I want to make bigger thumbs of my images, so I changed the thumbnail size to 180. When I start Rebuild Thumbs I get the following message:
Synchronizing the database with the image folder
Skipping file: .empty not readable.
Done (Synchronized 0 images).
Resizing
Done (resized 0 images).
I made the .empty file in /uploads readable, but still the same result.
Does anybody know what is wrong?
To bee or not to bee, that is the question
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Rebuild thumbs does not work
Hi!
It seems you once were using a SVN snapshot? Please try to delete that ".empty" file in the uploads directory, it shouldn't be there?
Best regards,
Garvin
It seems you once were using a SVN snapshot? Please try to delete that ".empty" file in the uploads directory, it shouldn't be there?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Thanks Garvin,
So far so good, I removed the .empty file and Build Thumbs isn't complaining about that file anymore.
Unfortunately my thumbsnails are still not updated!
I changed the thumbnail size from 110 to 180, so I expected that all the thumbnails were generated to that bigger size. Thumbnails created from newly entered pictures are 180 pixels.
So far so good, I removed the .empty file and Build Thumbs isn't complaining about that file anymore.
Unfortunately my thumbsnails are still not updated!
I changed the thumbnail size from 110 to 180, so I expected that all the thumbnails were generated to that bigger size. Thumbnails created from newly entered pictures are 180 pixels.
To bee or not to bee, that is the question
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Which serendipity version are you using?
Are you performing the build feature as Admin user? Can you check the SQL database serendipity_images and see what the thumbsize column says for the images?
Usually it should rebuild your thumbs, you are right on that.
As a last chance you might try to delete the 'serendipityThumb' files so that s9y tries to re-create them? [backup first, though]
Best regards,
Garvin
Which serendipity version are you using?
Are you performing the build feature as Admin user? Can you check the SQL database serendipity_images and see what the thumbsize column says for the images?
Usually it should rebuild your thumbs, you are right on that.
As a last chance you might try to delete the 'serendipityThumb' files so that s9y tries to re-create them? [backup first, though]
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hi Garvin,
You're quick.
I run the Build Thumbnails as Admin.
I had a look at my SQL database but can't find a thumbsize column under serendipity_images.
So I backupped the images and deleted the thumbnails in the upload directory. Now Build Thumbs is creating the bigger thumbnails.
Unfortunatily all my entries with a thumbnail in it have to be edited because the old thumbnail size is still visible, or is there an easier way?
Thanks,
Bert
You're quick.
I run the Build Thumbnails as Admin.
I had a look at my SQL database but can't find a thumbsize column under serendipity_images.
So I backupped the images and deleted the thumbnails in the upload directory. Now Build Thumbs is creating the bigger thumbnails.
Unfortunatily all my entries with a thumbnail in it have to be edited because the old thumbnail size is still visible, or is there an easier way?
Thanks,
Bert
To bee or not to bee, that is the question
After removing all thumbnail files from the upload directory and rebuilding the thumbs I discovered the next strange problem: some regenerated thumbnails still have the same old (smaller) size as before however in the Media Library the newer (bigger) values are written under the thumbnail.
When I remove the picture with in the Media Library by clicking on the red cross and entering the same original in Add Media, the thumbnail is still not generated in the bigger size.
I checked the upload directory when I removed the original picture: the thumbnail is also removed.
All the pictures which have a too small thumbnail doesn't seem to get a bigger thumbnail when re-entered. Newly added pictures does get the right thumbnail size.
I had a look in the SQL-database after removing one of the pictures, but here also is the picture removed.
Any ideas??
When I remove the picture with in the Media Library by clicking on the red cross and entering the same original in Add Media, the thumbnail is still not generated in the bigger size.
I checked the upload directory when I removed the original picture: the thumbnail is also removed.
All the pictures which have a too small thumbnail doesn't seem to get a bigger thumbnail when re-entered. Newly added pictures does get the right thumbnail size.
I had a look in the SQL-database after removing one of the pictures, but here also is the picture removed.
Any ideas??
To bee or not to bee, that is the question
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Sadly the thumbnail sizes in the entries do not automagically change, that is right. I'm sorry, but you really would need to change that (maybe via search+replace of an SQL dump) manually.
Best regards,
Garvin
Sadly the thumbnail sizes in the entries do not automagically change, that is right. I'm sorry, but you really would need to change that (maybe via search+replace of an SQL dump) manually.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hmmm. Garvin's comment about the entry HTML not changing got me thinking a little more.
If you're viewing the thumbnails in an entry, the HTML may include a width= and height= parameter on the image. If so, even if the thumbnails got updated to the new size, your browser would scale them to the old size. To fix that problem, you'd need to modify the entry HTML -- like the SQL search and replace Garvin mentioned.
You could probably test this by right clicking on a thumbnail and choosing "view image" (at least, in FireFox). Then right-click the resulting image and choose "Image Properties" (again, in FireFox). If that image is the new thumbnail size, you need to change the HTML in the entries. (In fact, just removing the width and height will work, since images have an implicit size.) If it's the old thumbnail size, something much more involved is going on.
If you're viewing the thumbnails in an entry, the HTML may include a width= and height= parameter on the image. If so, even if the thumbnails got updated to the new size, your browser would scale them to the old size. To fix that problem, you'd need to modify the entry HTML -- like the SQL search and replace Garvin mentioned.
You could probably test this by right clicking on a thumbnail and choosing "view image" (at least, in FireFox). Then right-click the resulting image and choose "Image Properties" (again, in FireFox). If that image is the new thumbnail size, you need to change the HTML in the entries. (In fact, just removing the width and height will work, since images have an implicit size.) If it's the old thumbnail size, something much more involved is going on.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi plofhead!
Did you purge your browser's cache? If not, the old thumb might really still be cached?
Best regards,
Garvin
Did you purge your browser's cache? If not, the old thumb might really still be cached?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/