Thanks for your reply.
its already image/jpeg :)
i am just reading a jpg file from a directory and output it to browser via
ImageJPEG function.
Main Topics
Browse All TopicsHello guys,
i have made an img.php that generates thumbnails for my images, and resize big images to 640x480.
i use
header('Content-Dispositio
to save images with their original names while using Save As.
But when i add the images into another page using img tag or iframe it Save As doesnt work as expected. It tries to save as untitled.bmp
Here are 2 URLs one to a pop up page. and one to the image itself.
http://online.rek-man.com/
http://online.rek-man.com/
I have read a few articles to prevent IE saving images as untitled.bmp but they did not work.
what can be wrong?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Oh no, I didn't read the original question right, sorry.
'Save as' on an IMG element resulting in untitled.bmp is definitely not a server issue. Try clearing your temporary internet files first, then reset web settings.
http://support.microsoft.c
If the original file is not cached, all IE will have is a bitmap representation. Other browsers ignore pragma:no-cache.
http://support.microsoft.c
--
Lee
So, what http headers are being returned for that Image? You'll need to use a tool like http://www.blunck.se/iehtt
--
Lee
Business Accounts
Answer for Membership
by: DelTremePosted on 2007-08-22 at 04:08:51ID: 19744972
Using IE I get the same behavior you described, in an img tag it just calls itself image.bmp. FireFox does rename it well in both ways.
Did you add
header('Content-Type: image/jpg');
(or was it image/jpeg)
to your code? That should at least get rid of the bmp thing