Image Location :
application / modules / user / views / img / food.jpg
and my script :
<img src="<?php echo base_url(); ?>application/modules/user/views/img/food.jpg">
Can you tell me the best way to show the image profile ?
application/modules/user/vie" /> application/modules/user/vie" /> application/modules/user/vie"/>
Image Location :
application / modules / user / views / img / food.jpg
and my script :
<img src="<?php echo base_url(); ?>application/modules/user/views/img/food.jpg">
Can you tell me the best way to show the image profile ?
As the folder says,
applicationshould be only used for the application, not for the public data like one image published on the html.You should place the image outside the application folder. Like the
imagesfolder on the root of your project.And the link should be something like: