View Full Version : How can I remove full sized images?
January 8th, 2005, 06:17 PM
I've set the option to not keep the full sized image and link to it (click on the picture job) but all the previous full sized images are still there. How can I remove all these images and links to them to save space?
January 9th, 2005, 07:12 AM
;) perhaps what I should say.. is there a maintainance module to do this in RC3 or can one be posted up before that release.
Otherwise if you change the selection to not keep original images, theres no way to remove those already there. (an auto prune admin function based on age and quota would also be good :) )
- Shouldn't be too hard to make (just to test rofl), it just has to delete all applicable files and remove the corresponding database entries.
January 9th, 2005, 10:10 AM
If you run this query:
UPDATE adv_gallery_images SET originalname = '';
Then run the 'Scan Database' tool that should allow you to easily remove all original images.
January 9th, 2005, 11:14 AM
As a note to anyone else, you also need to run the queries;
UPDATE adv_gallery_images SET originalwidth = '';
UPDATE adv_gallery_images SET originalheight = '';
to remove the links to original images (which are gone from the first part)
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.