in reply to Mojolicious: rendering images located outside of public directory
Can I somehow render within template images, which are stored outside of /public/images directory (let's say they are located in /private/images) ? I can render_static them on a request, but this method seems to give just the file itself, without surrounding html markup.
question doesn't make sense :) if you can render_static them on a request, then that is all there is to do <img src="....path that does render_static for this image">
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mojolicious: rendering images located outside of public directory
by Kyshtynbai (Sexton) on Jun 19, 2014 at 07:26 UTC | |
by Anonymous Monk on Jun 19, 2014 at 07:35 UTC | |
by Kyshtynbai (Sexton) on Jun 19, 2014 at 07:44 UTC | |
by Kyshtynbai (Sexton) on Jun 19, 2014 at 08:36 UTC | |
by Anonymous Monk on Jun 19, 2014 at 08:41 UTC | |
by perlfan (Parson) on Jun 19, 2014 at 13:20 UTC |