This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hello! I'm using the resize filter in a october v2 installation in my default.htm in my component like this:
<img src="{{ board.image.path|resize(180, 200) }}" alt="{{ board.image.file_name }}" class="board_image">
Unfortunately this doesn't work. What did I wrong?
The outcome markup looks like this and the image isn't found:
<img src="/resize/c7214256a1ed1f82ddf002cd478584fa-1" alt="sebastian_grunt.jpg" class="board_image">
Hello Mathilde,
When you open this link in your browser, you should see some kind of error message or it will redirect you to another location.
Can you confirm this?
Last updated
Hello daftspunk,
Yes, when I open this link with the right URL in browser the right, resized image is shown. I guess, it has something to do with my app not being on root, but in a subfolder, although the APP_URL is right in the .env.
1-5 of 5