Referencing images that belong to an Advanced Module
How do I reference an image stored in fuel/modules/store/assets/images within one of the Store's view files?
I have a view file called success.php in the store/views directory that references an image stored in the same module's assets folder using this syntax:
<img src="../assets/images/gift-certificates/gc-3day.png">
This does not pull up the image. How can I enable the files in the modules assets directory to be browseable? Do I have to change permissions on the folder or add a custom route somewhere?
Erik
Comments
<img src="<?php echo img_path('gift-certificates/gc-3day.png', 'store')?>">
The main .htaccess blocks access to any files but should allow files in the assets folder through.