By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,842 Members | 2,440 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,842 IT Pros & Developers. It's quick & easy.

Save Picture As...

P: n/a
I have an interactive mapping website where there is a main map image. For
the map image, I over-rode the default right click menu to provide a popup
menu for mapping tools. Now my client has asked me to have the option to
save the image. I guess I should have seen this coming. On the browser
default right click menu there is a "Save Picture As..." option.

Does anyone know how I can get that option back, or use another way of
saving the image? At this point, removing the new popup menu is not an
option.

Any help would be appreciated.

Thanks
Glenn
Oct 4 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
wrote on 04 okt 2005 in comp.lang.javascript:
I have an interactive mapping website where there is a main map image.
For the map image, I over-rode the default right click menu to provide
a popup menu for mapping tools. Now my client has asked me to have the
option to save the image. I guess I should have seen this coming. On
the browser default right click menu there is a "Save Picture As..."
option.

Does anyone know how I can get that option back, or use another way of
saving the image? At this point, removing the new popup menu is not an
option.

Any help would be appreciated.


with serverside code, the job is easy, because you can send a bitstream as
a download only.

Clientside only, try:

<img src='my.jpg' oncontextmenu='whateverYourCode();return false;'>
<br>
<a href='my.jpg' onclick='return false;'>
To download the above picture,
rightclick here and do a "save target as..."</a>
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Oct 4 '05 #2

P: n/a
Thanks very much.

The client side solution works okay, but I'm interested in the server side
bitstream solution you mentioned. We are using Coldfusion. How would I
implement this?

Thanks
Glenn

"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.242...
wrote on 04 okt 2005 in comp.lang.javascript:
I have an interactive mapping website where there is a main map image.
For the map image, I over-rode the default right click menu to provide
a popup menu for mapping tools. Now my client has asked me to have the
option to save the image. I guess I should have seen this coming. On
the browser default right click menu there is a "Save Picture As..."
option.

Does anyone know how I can get that option back, or use another way of
saving the image? At this point, removing the new popup menu is not an
option.

Any help would be appreciated.


with serverside code, the job is easy, because you can send a bitstream as
a download only.

Clientside only, try:

<img src='my.jpg' oncontextmenu='whateverYourCode();return false;'>
<br>
<a href='my.jpg' onclick='return false;'>
To download the above picture,
rightclick here and do a "save target as..."</a>
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Oct 6 '05 #3

P: n/a
wrote on 06 okt 2005 in comp.lang.javascript:
"Evertjan." <ex**************@interxnl.net> wrote in message
wrote on 04 okt 2005 in comp.lang.javascript:
> I have an interactive mapping website where there is a main map
> image. For the map image, I over-rode the default right click menu
> to provide a popup menu for mapping tools. Now my client has asked
> me to have the option to save the image. I guess I should have seen
> this coming. On the browser default right click menu there is a
> "Save Picture As..." option.
>
> Does anyone know how I can get that option back, or use another way
> of saving the image? At this point, removing the new popup menu is
> not an option.
>
> Any help would be appreciated.
with serverside code, the job is easy, because you can send a
bitstream as a download only.

Clientside only, try:

<img src='my.jpg' oncontextmenu='whateverYourCode();return false;'>
<br>
<a href='my.jpg' onclick='return false;'>
To download the above picture,
rightclick here and do a "save target as..."</a>


[please do noot toppost on usenet
The client side solution works okay, but I'm interested in the server
side bitstream solution you mentioned. We are using Coldfusion. How
would I implement this?


That depends on your type of server OS
and so of platform [ASP-Js, ASP-VBs, PHP, JSP, etc].

<a href='myJPG.asp'>
<a href='myJPG.php'>
etc

Please ask in a relevant NG for relevant bitstream coding.

I am not knowledgable about Coldfusion, but that seems OT here too.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Oct 6 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.