Hi, I've got a question.
I'm displaying images on the fly using content header .. etc.
Along with that I would like to display a message for each image on the fly as well. I'm not exactly sure how to go about that. I have a few pages that include forms and etc but basically this is how i'm displaying the images:
<?php
$filedir = "/storage/";
$filepath = $filedir . $image;
$mimetypes = array(
... some code here
);
header('Cache-Control: public');
header('Content-Type: ' . $mimetypes[some code here '.'), 1)]);
header("Content-Disposition: inline; filename=$description.gif$description");
@readfile($filepath);
?>
Any help would be appreciated. Thanks.