diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-10-06 12:10:42 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-10-06 12:11:03 -0400 |
commit | c7bd43fb216440fa940583fb218446b053f1eea6 (patch) | |
tree | 612f188c7bc73eabd4812d1c07abfc8f9c059fe1 /lib | |
parent | version & changelog 2.7.3 (squeeze freeze, fixes) (diff) |
dal_images, where image dimensions are set in an object, use those (+changelog &
version date)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v2/dal_images.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v2/dal_images.rb b/lib/sisu/v2/dal_images.rb index 0b6d2b1e..ed537f22 100644 --- a/lib/sisu/v2/dal_images.rb +++ b/lib/sisu/v2/dal_images.rb @@ -83,7 +83,7 @@ module SiSU_images unless dob.is =~/^table/ dob.obj.strip! if dob.obj =~/#{Mx[:lnk_o]}\s*\S+\.(?:png|jpg|gif)(?:\s*|\s+.+)?#{Mx[:lnk_c]}(?:#{Mx[:url_o]}\S+?#{Mx[:url_c]}|image)/ - if dob.obj !~/#{Mx[:lnk_o]}\s*\S+\.(?:png|jpg|gif)\s+\d+x\d+\s+/ + if dob.obj !~/#{Mx[:lnk_o]}\s*\S+\.(?:png|jpg|gif)\s+\d+x\d+/ m=/#{Mx[:lnk_o]}\s*(\S+\.(?:png|jpg|gif))/ if imagemagick_ imgs=dob.obj.scan(m).flatten |