View Single Post
Old 01-28-2010, 11:38 PM  
cyco_cc
Confirmed User
 
cyco_cc's Avatar
 
Join Date: Oct 2008
Posts: 344
Quote:
Originally Posted by AlphaSky View Post
This has me stumped:

Like any picture online, you can right click and save it.... or so I thought... (unless they disable the right click)

This pic, you can right click, "save as" BUT then, when you try to open what you have saved, you get a blank picture with one little dot in the middle.

Check it out.... can anybody explain how they programmed this?

http://www.flickr.com/photos/gabisa_...n/photostream/
http://farm3.static.flickr.com/2394/...59afcede27.jpg

I looked at it real quick and it's using:
Code:
YAHOO.util.Event.onDOMReady(function(){F.photo_replace_action.init()});
It looks like it's just manipulating the DOM so that spaceball.gif is served when you go to save the image.
cyco_cc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote