Closed (fixed)
Project:
ImageCache
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2006 at 20:12 UTC
Updated:
25 Sep 2006 at 05:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
marcoBauli commentedi just came to report exactly that bug (multiple images generation on multisite)
test the patch and be right back...
Comment #2
marcoBauli commentedhmm...applyed the patch manually, but i still get a new replicated cached image every time i reload the page..
repeated images are in the form imagename.jpg, imagename.jpg_0, imagename.jpg_0_0, imagename.jpg_0_1.
I am on Drupal 4.7.2, latest imagecache and imagefield mods.
Comment #3
marcoBauli commentedhmm...applyed the patch manually, but i still get a new replicated cached image every time i reload the page..
repeated images are in the form imagename.jpg, imagename.jpg_0, imagename.jpg_0_0, imagename.jpg_0_1.
I am on Drupal 4.7.2, latest imagecache and imagefield mods.
Comment #4
zach harkey commentedSame here, every time I call the image it creates a new version _0_14, _0_15, _0_16, etc.
Comment #5
ukdg_phil commentedI've recreated this patch with all the previous changes made - and a couple of minor alterations.
The script was checking if the temp image file existed, instead of the destination. This seems to fix the problem, but please correct me if this check was needed for something else...
If you want to change a script with the 1st patch (top of this issue) already applied - just alter the following line:
to
Otherwise apply this new patch to a clean imagecache - this was created against version 1.9 2006/07/31 of the module.
Comment #6
dopry commentedCan you test against imagefield in cvs head? I think this should be resolved now.
Comment #7
dopry commentedthis should be fixed in the latest cvs.
Comment #8
ukdg_phil commentedSorry for the delayed response, new version seems to be working ok on multisite installs.
Thanks dopry!
Comment #9
zach harkey commentedThe fix seems to work but it isn't applied to the latest cvs (unless I'm doing something wrong).
Comment #10
dopry commentedIt should be applied to cvs. Check your .htaccess file.
Comment #11
(not verified) commented