[support] Image derivatives - help needed with cleanup
Chris McGinlay
chris at ascentsoftware.org.uk
Sun Sep 16 18:20:39 UTC 2007
Hi,
Im running Drupal 5.2 on www.rockstanza.info, with image-5.x-1.4,
img_assist-5.x-1.4 (reckon this should be 5.x-1.4-dev etc)
However my problem is not with img_assist, rather just with image itself.
My images directory keeps getting larger with many duplicate copies appearing
in the directory with no referring entry in the files table. Here is one
example:
directory listing, suppressed user:group (=apache:apache) for brevity:
ls -algG dscn0044*
-rw-rwxr-- 1 129892 Jan 28 2007 dscn0044._original.jpg
-rw-r--r-- 1 71910 Aug 9 13:18 dscn0044._original.medium.jpg
-rw-rw-r-- 1 129892 Jul 20 04:23 dscn0044._original.preview_0.jpg
-rw-r--r-- 1 71910 Jul 20 04:23 dscn0044._original.preview_0.medium.jpg
-rw-rw-r-- 1 129892 Jul 20 05:07 dscn0044._original.preview_1.jpg
-rw-r--r-- 1 71910 Jul 20 05:07 dscn0044._original.preview_1.medium.jpg
-rw-rw-r-- 1 129892 Jul 20 07:07 dscn0044._original.preview_2.jpg
-rw-r--r-- 1 71910 Jul 20 07:07 dscn0044._original.preview_2.medium.jpg
-rw-rw-r-- 1 129892 Jul 20 12:37 dscn0044._original.preview_3.jpg
-rw-r--r-- 1 71910 Jul 20 12:37 dscn0044._original.preview_3.medium.jpg
-rw-rw-r-- 1 129892 Jul 20 15:05 dscn0044._original.preview_4.jpg
-rw-r--r-- 1 71910 Jul 20 15:05 dscn0044._original.preview_4.medium.jpg
-rw-rw-r-- 1 129892 Jul 19 18:30 dscn0044._original.preview.jpg
-rw-r--r-- 1 71910 Jul 19 18:30 dscn0044._original.preview.medium.jpg
-rw-r--r-- 1 10165 Aug 9 13:18 dscn0044._original.thumbnail.jpg
The database itself has just three entries:
413 136 _original images/dscn0044._original.jpg image/jpeg 129892
7539 136 thumbnail files/images/dscn0044._original.thumbnail.jpg
image/jpeg 10165
7540 136 medium files/images/dscn0044._original.medium.jpg image/jpeg
71910
i.e. no 'preview' size.
My image module settings define:
Preview 640x640
Medium 300x300
Anyone any ideas how to clean up the mess of uneeded images???
Ta!
Chris
More information about the support
mailing list