I wanted to include some uploaded assets (images) in an entry. The
.url property in twig outputs the proper URL, in my case:
However, that link is broken. Following it leads to a 404 error page:
Template not found: image/photo-2017-04-02-16-20-53-1.jpg
Viewing it in the admin panel preview also displays a broken image sign.
If I disable the Public URL switch in the asset settings, the image display fine in the admin panel, but obviously I cannot use them in public pages.
I wasn't able to find a working fix for this. I tried the multiple-environment config solution from these forums just in case, but it did not help me.