Does anyone quickly know how to link to a public image through a page or partial?
It could be an image uploaded via a post, or another plugin, that I'd also like to be able to use in a specific page if needs be, rather than having to place it in my theme directory also. Don't see the point of having two of the same image if it's already been uploaded to the public folder.
I know that all system files (uploads) are stored in the system_files table in the DB, would just like to know if there's an easy way to access them through TWIG, maybe something like {{ public('image_name.jpg') }} ?
Last updated