Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imager 1.6.4 and Craft 2.7.7 - An unknown image object was used #268

Open
marc524 opened this issue Aug 26, 2019 · 0 comments
Open

Imager 1.6.4 and Craft 2.7.7 - An unknown image object was used #268

marc524 opened this issue Aug 26, 2019 · 0 comments

Comments

@marc524
Copy link

marc524 commented Aug 26, 2019

Something changed between Craft 2.7.6 and 2.7.7 (changelog just says: "Updated Twig to 1.38.4") that broke Imager reading string URLs. My template is now returning An unknown image object was used

Not sure where to post version 1 support questions for Craft 2. Apologies if this is not the correct spot.

My assets are on S3 and so my code calls an image with:
{% set heroImage = entry.heroImage.first.url() %}

before going into the whole
{% set transformedImages = craft.imager.transformImage(heroImage, ...) %}

And now, for whatever reason, this isn't getting read as a string anymore on line 26 of Imager_ImagePathsModel.php

I can role back to Craft 2.7.6 and everything works fine.
Using Imager 1.6.4

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

No branches or pull requests

1 participant