Error in resizeDynamic images #436
-
Hi, I've been using the resizeDynamic function of flynt succesfully for a while now until recently when for some images i am receiving this error in the img src output:
Error is coming from: Any idea why this would start happening? Any help appreciated. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @ahhaweb99 you can use dump function inside twig to see if its a valid url, example:
if its |
Beta Was this translation helpful? Give feedback.
-
It looks like your source isn't valid, as @koukouchris stated. Sometimes it might help to just before the image output do a |
Beta Was this translation helpful? Give feedback.
It looks like your source isn't valid, as @koukouchris stated.
Sometimes it might help to just before the image output do a
{% set image = Image(image) %}
to make sure you have a Timber\Image.