-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Error with ImageExtension after Update to RC34 and sitll in RC35 #1721
Comments
Hi Stefano, I have some suspicion about what's causing this, but can you provide the twig that goes with this? Thanks! |
Hey @I-Valchev, This is the Twig: If I do: This is the output:
Greetings |
Right, I'm assuming section is a This is a bit tricky to fix, because the image extension needs an BUT, here's a little trick that should work for you. Rather than using What this does is to get the image object, not just the image value. This is far from optimal, but I hope at least it lets you do the thing :-) |
Hi @I-Valchev, Correct. section is a Your recommended solution works in my installation. Maybe you should adapt the documentary for other users, running into the same problem... Greetings |
Fixed. See I-Valchev/image-extension#12 |
Hi,
I get this error now...
Argument 1 passed to IvoValchev\ImageExtension\Twig\ImageExtension::getResponsiveImage() must be an instance of Bolt\Entity\Field\ImageField or null, array given, called in /Library/WebServer/Documents/bolt4/websrc/var/cache/dev/twig/d1/d16e69a35f023ac10572fd3a6684f9705dab5601eee7601bf75e81fd668198f7.php on line 55
The error appears with Fieldtype "Image" - "Imagelist" works fine.
In RC 33 everything worked...
Using ImageExtension V. 1.1.2
Bolt version: 4.0.0 RC 34 + 35
Greetings
Stefano
The text was updated successfully, but these errors were encountered: