I am running on the latest dev and getting the following error:

Strict warning: Only variables should be passed by reference in resp_img_field_attach_view_alter() (line 303 of /sites/all/modules/resp_img/resp_img.module).

The images are somehow not being output correctly.

Comments

jaffaralia’s picture

Status: Active » Needs review
StatusFileSize
new712 bytes

Here's a patch the reset($breakpoint_styles['mapping']) function had been assigned to a variable $reset and it has been send to reset($reset) function after that warning message disappear. When tested it worked for me.

luksak’s picture

Status: Needs review » Needs work

Thank you! The warnings are gone. Now I am getting this error:

Notice: Undefined index: uri in theme_picture() (line 374 of /sites/all/modules/resp_img/resp_img.module).

The images are still not showing...

attiks’s picture

Assigned: Unassigned » jelle_s
jaffaralia’s picture

I can't replicate this notice can you explain how you configured the breakpoints and reponsive image and style.

attiks’s picture

Status: Needs work » Needs review

#2 Looks to me this is unrelated to this patch, as suggested in #4 can you check you're settings? If the problem still exists can you create a new issue, so we can use this one to keep track of the patch.

jelle_s’s picture

Fixed in latest dev. Thanks for the patch!

jelle_s’s picture

Status: Needs review » Fixed

Forgot the status :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.