Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Right click share image scripts?

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



7:24 pm on Aug 30, 2013 (gmt 0)

5+ Year Member

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.


8:48 pm on Sep 12, 2013 (gmt 0)

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

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.)

Featured Threads

Hot Threads This Week

Hot Threads This Month