I have about 4000 images in my gallery and the cache-Folder grows and grows. So I have changed the GD-Settings from 100 to 80, the quality is for me still fine. But this doesn't affect pictures I have already uploaded.
How can I clear the cache and let gallery rebuild it? If this would be possible, I can save webspace.
Posts: 16503
First you can try going to Site Admin > Maintenance and rebuilding thumbnails and resized versions. That should do it and use the new settings.
If not, then go to www.example.com/gallery/lib/support > Cache Maintenance
From there you can delete thumbnails and resized versions and have Gallery rebuild them using the new settings.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 15
Thank you, that worked (the second method).
Posts: 64
We have a similar problem, I think. Our gallery has currently nearly 70,000 images and this will keep growing. Although the server has unlimited bandwidth we've just found out about inodes. We've cleared the cache using Delete Database Cache. Can you suggest anything else we can be doing to manage the file number? I've done a search on 'Managing large galleries' but there doesn't seem to be anything there.
Gallery version = 2.2.6 core 1.2.0.8
PHP version = 5.2.9 cgi-fcgi
Webserver = Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Database = mysqlt 5.1.30, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, ImageMagick, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux gator481.hostgator.com 2.6.28.9 #5 SMP Mon Mar 30 04:51:09 CDT 2009 i686
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19
Rows in GalleryAccessMap table = 29
Rows in GalleryAccessSubscriberMap table = 70310
Rows in GalleryUser table = 2
Rows in GalleryItem table = 70156
Rows in GalleryAlbumItem table = 179
Rows in GalleryCacheMap table = 0
Posts: 16503
Dump Hostgator. There is no truly unlimited host, but I've heard of people hosting 100,000s of images at Dreamhost.
70,000 images = at least 210,000 files; 1 each for thumb, resized, full-size. You're going to have to delete a lot of images, just to stay with Host Gator and their 50,000 file limit. Or do you mean you really have about 23,000 images, each with at least a thumb, resize and full-size image? Host Gator is following in the footsteps of all other previously "unlimited" hosts, in 5 or 10 years they might be lucky and still be in business.
Good luck.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 64
Thank you. We'll look at Dreamhost once we're ready to renew - which will be soonish I think. And, we have 70,000 files. When we went with Hostgator we were only looking at file size and had no idea about file number being an issue so we went with the unlimited bandwidth option.