homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

Right click share image scripts?
Are there any scripts that brings up a embed box for image sharing?

5+ Year Member

Msg#: 4606210 posted 7:24 pm on Aug 30, 2013 (gmt 0)

I'm trying to optimize our site for image sharing and I saw that tripadvisor has this neat script where if you right click a image, it'll bring up the sharing code with attribution. I've spent the last hour looking for a WP plugin and script with no avail. Does anyone know of a script paid/free that can do that? If not, then I guess I'll have to get it built.

Here's what i mean:


Click on the image gallery and then right click the image.



WebmasterWorld Senior Member whoisgregg us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4606210 posted 8:48 pm on Sep 12, 2013 (gmt 0)

This would be fairly straightforward to code using JavaScript by listening for the "contextmenu" event, but I don't know of any plugins to do so. It will need to be built.

It's important to keep in mind that users sometimes backlash against anything that overrides something they consider to be a browser- or system-level functionality. It's a fine line to walk between adding functionality for users and removing functionality from users. (I know I have many customizations in my right click menu -- I'd be frustrated if a site overrode those.)

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved