----- Original Message ----- From: "zari lahr" Dear sir..
this is what i am working out.... ============================================================== <snip> <td width="41%"><img src="images/<? echo $r["image_path"]?>" /></td> <snip> ============================================================ one thing that i have just stored the image name in mysql and store the all image in a saperate folder name images..as shown in the code above.. i want that when i click the download button the download box open and the image start to download. regards -------------------------------------------------------- Hello Zari, We type below previous posts in this group. You didn't mention what file types that the image files are. ie - .jpeg . jpg .png .gif .bmp You need another php file to force the download. See the headers() function on php.net The above code will need to be changed to - <td width="41%"><img src="images/download.php?image=<? echo $r["image_path"]?>" /></td> The important part is to make sure that the only files that the download script will download are image files from the correct location. I need to know what file types are acceptable to write the validation for you. Thanks, Rob.