My images are stored on Amazon servers and I have to display them (using smarty) in a smarty template.
currently I am able to show an image using following PHP 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