Skip to content

Conversation

@dimger
Copy link

@dimger dimger commented Oct 1, 2021

If in your pageTheme.php the getThemeResponsiveImageMap function is in use then the generated style from getListingThumbnailImage() breaks the javascript code. See:
https://github.com/concrete5/concrete5/blob/35c800305212cb619cd27cb77ba48b7ea20c8f8c/concrete/src/Html/Object/Picture.php#L89

So i think is better to json_encode the return of getListingThumbnailImage function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants