You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to craft, so apologies if this is super simple. I'm having trouble getting this code working:
{% block content %}
<ul>
{% if block.images | length %}
{% set thumb = {
mode: 'fit',
width: 550,
height: 390,
quality: 80,
} %}
{% for asset in block.images %}
<li>
<img src="{{ craft.retinafy.image(asset, 'thumb') }}" />
</li>
{% endfor %}
{% endif %}
</ul>
{% endblock %}
Error:
Argument 2 passed to Craft\Retinafy_RetinafyService::create2xImage() must be an instance of Craft\AssetTransformModel, null given, called in /my_system_path_here/craft/plugins/retinafy/services/Retinafy_RetinafyService.php on line 65 and defined
Thank you!
The text was updated successfully, but these errors were encountered:
I'm new to craft, so apologies if this is super simple. I'm having trouble getting this code working:
Error:
Thank you!
The text was updated successfully, but these errors were encountered: