Closed (fixed)
Project:
ImageCache
Version:
6.x-2.0-beta10
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2009 at 13:26 UTC
Updated:
2 Jun 2012 at 23:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
Geijutsuka commentedI am having the exact same issue! If I upload an image (through Imagefield) the same image will be uploaded in the imagefield_thumbs folder and the files root folder. I somewhat understand the ImageCache directory having it's own copy (sorting images according to automatic presets), but having doubles, triples, or even quadruples of the same one image is insanely wasteful of space! In the CCK content type which has the image, I have to put a path that would make sense in the imagefield_thumbs directory, but it also shows up in the root and makes no sense there (e.g. naming the path "people" would show up in the structure as "website/files/imagefield_thumbs/people" BUT it would also show up as "website/files/people"). Then ImageCache saves it's own versions.... *sigh.* I hope quicksketch or someone can help us.
Comment #2
oklok commentedI three have this duplicates problem as #1 described, this must be a bug?
Comment #3
oklok commented.
Comment #4
JaredAM commentedSounds like this is by design. http://drupal.org/node/550912
Comment #5
Geijutsuka commentedYeah... It appears as if the "_thumbs" are for the little thumbnail as you're filling in the content type... I guess I can see why those should be made. The two imagecache ones are for the automatic resizing you want, the /files/ holds the original and the imagefield_thumbs holds all the little preview thumbs of the images when you're uploading them. Makes sense... but it sure is a lot of different files of the same image-- there probably isn't any other way of doing it.
Comment #6
JaredAM commentedYup, but I guess this is fixed in D7 since both are in core and they can play nice with each other.
Comment #7
Geijutsuka commentedOh goody! Things are always so much less frustrating when modules play nice with each other.
Comment #8
aitala commentedHI,
I am having a similar issue with one major exception...
My example - I have a preset called 'review_image_thumb' but I am using Filefield, Pathauto, and Transliterate to put my images (and their derivatives) for a custom content type called 'reviews' in subdirectories.
So the original image goes in default/files/reviews/REVIEW_NAME/file_name.jpg, the Imagecache Derivatives go in default/files/imagecache/review_image_thumb/reviews/REVIEW_NAME/file_name.jpg, etc. However, I am also getting image derivatives like default/files/imagecache/review_image_thumb/file_name.jpg and occasionally like default/files/file_name.jpg .
When you look at the HTML for a published review node, the links for the images and their derivatives all point to the correct subdirectories (default/files/reviews/REVIEW_NAME and default/files/imagecache/review_image_thumb/reviews/REVIEW_NAME).
I have been removing the misplaced copies by hand but its a bit of a pain and I think occasionally may be causing the system to hang. It does not seem to happen all the time, so I don't really know how to diagnose it.
For reference, I am using
Eric
Comment #9
leisurman commentedI am having the same problem. Drupal V.6. We have upload 8 gigs worth of pdfs.
These files are being duplicated.
/files/X
and
/files/imagefield_thumbs/X
Comment #10
fizk commentedPlease reopen if this is still an issue with ImageCache 6.x-2.0-rc1.