vendredi 17 avril 2015

How to show image using smarty, when it is stores on amazon

Image is stores on Amazon and I have to display the same using smarty template,

currently I am able to show it using php file with following code,



header('Content-type:image/jpeg');
header("Content-disposition: inline; filename=\"".basename($formatted_filename)."\"");


How could I show it on smarty page?


Aucun commentaire:

Enregistrer un commentaire