Closed (fixed)
Project:
Scald: Media Management made easy
Version:
7.x-1.x-dev
Component:
Provider: image
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2014 at 14:03 UTC
Updated:
23 Dec 2014 at 16:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ciss commentedThe attached patch solves the issues for us. I've implemented a conditional check for the $image_style structure, since I assume that the original implementation was thoroughly tested and working for picture 1.x (although I couldn't find any pointers to it when comparing picture 1.x and 2.x).
Comment #2
ciss commentedComment #3
ciss commentedUpdated the title/description after further investigation (/null URLs are actually caused by picturefill.js on Chrome), removed some unnecessary code from the patch.
Comment #5
jcisio commentedI'm not a fan of three levels of IF inside a foreach, because of readability, so I rewrite it a little and commit. Thanks!