Closed (fixed)
Project:
Imagefield Crop
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2012 at 16:51 UTC
Updated:
31 Oct 2015 at 20:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
nlisgo commentedI can confirm that on some occasions the original image is being displayed when the post is being viewed for the first time. I think this may have something to do with the fact that the cropped image overwrites the original image and if the node is viewed before this action is done then we will see the original image.
Comment #2
nlisgo commentedFixed. This was a caching issue. basically because the cropped image is stored using the same filename as the original image. Cache will inevitably return the original image sometimes. I get round this by changing the location of the cropped file.
Comment #3
nlisgo commentedHere is an improved patch that renames the file for updates not just inserts.
Comment #4
peter feddo commentedI applied the patch and can't seem to get the cropped image to display. The image that gets stored and rendered is the original uncropped version.
Comment #5
nlisgo commentedI had set the version to be 7.x-2.x-dev but you have switched it to 7.x-1.0
Would you prefer that I prepare a patch for the 7.x-2.0 branch? I am not using the 7.x-1.0 branch.
Comment #6
akalam commentedThanks for the patch !
I ported it to the 1.x branch
https://www.drupal.org/node/2412183
Comment #7
kcolwell commentedI found that desarrollo2.0's patch was very helpful and should be rolled into the next update.
Ken Colwell
Comment #8
joetsuihk commentedHi @kcolwell, you mean you tested the patch for 1.x? do you mind go over https://www.drupal.org/node/2412183 and state you had tested that patch? I will commit that to 1.x dev if so.
Thanks.
Comment #10
ram4nd commented