merrydown
-
Posts
3 -
Joined
-
Last visited
Never
Posts posted by merrydown
-
-
Thanks for the advice. Point taken. Is there a way to pass the name though? On the size of system I am dealing with, the performance hit isn't a big deal and I'd just like to know if anyone can help me?
-
Hi, I am storing images in a database for use on a website. The problem is that when I try to save an image I am displaying on the page, the script name is the save name. ( The image src is typically: "view.php?imageID=3&size=thumb". The code / headers in the script view.php which displays the images are:
if (!empty($row_imageRS['image'])){
// Output the MIME header
header("Content-Type: {".$row_imageRS['mimeName']."}");
$latifah=$row_imageRS['name'];
if ($_GET['size']=='main') {
// Output the image
echo $row_imageRS['image'];}
if ($_GET['size']=='thumb') {
// Output the image
echo $row_imageRS['thumb'];}
}
My question is, how do I get the displayed image to right-click save as $row_imageRS['name'] ?
Cheers for any help offered!
Jim
Displaying images from database and saving as with the right name!
in PHP Coding Help
Posted
Cheers again, Jim