Closed (duplicate)
Project:
Image Resize Filter
Version:
6.x-1.4
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2009 at 12:22 UTC
Updated:
21 Oct 2009 at 19:59 UTC
This happens because you're storing just the URL/path to the original image instead of the entire img tag in image_resize_filter_get_images():
preg_match_all('/<img[^>]*?src[ ]*=[ ]*"([^"]+)"[^>]*>/', $text, $matches);
To support multiple instances of the same image in the same textarea with different sizes, you must store the entire img tag.
I know, very minor, but in my tests with resizing images, I was puzzled why this wouldn't work.
Comments
Comment #1
mxmilkiib commentedsounds like the problem behind http://drupal.org/node/550390
Comment #2
philbar commentedI'm having the same problem.
Marking as a duplicate of #550390: second resize uses previously resized image