Skip to content

Commit

Permalink
Fix images
Browse files Browse the repository at this point in the history
  • Loading branch information
AchillesKal committed Apr 7, 2024
1 parent 10608d0 commit 4201415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/blog_post/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
{# Check if the blog post has a banner image #}
{% if blog_post.banner %}
<img
src="{{ asset(uploaded_asset(blog_post.banner)) | imagine_filter('blog_list') }}"
src="{{ asset(uploaded_asset(blog_post.banner)) | imagine_filter('blog_list_low') }}"
alt="{{ blog_post.title }}" class="h-full w-full rounded-3xl object-cover"
{{ stimulus_controller('symfony/ux-lazy-image/lazy-image', {
src: asset(uploaded_asset(blog_post.banner)) | imagine_filter('blog_list_low')
src: asset(uploaded_asset(blog_post.banner)) | imagine_filter('blog_list')
}) }}
>
{% else %}
Expand Down

0 comments on commit 4201415

Please sign in to comment.