Kyshtynbai has asked for the wisdom of the Perl Monks concerning the following question:
I'm still playing with Mojolicious and I have the following question:
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.
Thanks in advance!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mojolicious: rendering images located outside of public directory
by Anonymous Monk on Jun 19, 2014 at 07:14 UTC | |
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 |