Nomax5 Posted August 23, 2006 Share Posted August 23, 2006 I want people to be able to right click images I make with php and “Save As…”if I create a jpeg within test.php with imagejpeg(“$im); which outputs it to the browser.when I right click the image its called “test.php” how do I make it called “something.jpg” instead?I’m thinking my visitors will save it with the .php extension and get confused.I don’t want to save it as a file if I can help it because there will be many of them.Any ideas? Quote Link to comment Share on other sites More sharing options...
onlyican Posted August 23, 2006 Share Posted August 23, 2006 the image would be a .jpgFor exampletest.php, right click, save astest.php.jpgNow how to remove the .php. is a good question Quote Link to comment Share on other sites More sharing options...
Nomax5 Posted August 23, 2006 Author Share Posted August 23, 2006 when you do "Save As..." its just called "test" and you can choose type "GIF (*.gif)" or BMP Quote Link to comment Share on other sites More sharing options...
onlyican Posted August 23, 2006 Share Posted August 23, 2006 well, that depends if u have file extensions on or not Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.