So you can add public/images/foo.jpg and you link to it from public/foo.html with src="images/foo.jpg"
Ok. I see. It's needed create a public DIR on myapp structure
myapp |- myapp.pl |- lib | |- MyApp.pm | +- MyApp | +- Model | +- Users.pm |- t | +- login.t |- public | +- img | +- foo.jpg +- templates |- layouts | +- default.html.ep |- index.html.ep +- protected.html.ep
Thanks beech
In reply to Re^2: Insert images on Mojolicious website
by pazt
in thread Insert images on Mojolicious website
by pazt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |