Creating thumbnails from .swf files

picdude

Joined: 2006-06-13
Posts: 176
Posted: Thu, 2009-07-23 21:58

A friend of mine has suggested securing my photos from being copied from my Gallery by changing the file ext. from .jpg to .swf (I already have a "right-click disable script, but they were still being stolen)

I did a test and it works! No drag and drop. No emailing the page. The only problem is that there is no thumbnail. Apparently, Gallery recognizes the file as an animation.

Does anyone know of a way to get Gallery to build thumbnails from .swf files?

Thanks!
Andrew

Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 4.4.7 cgi
Webserver = Apache
Database = mysqlt 5.0.45-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, NetPBM, Thumbnail, SquareThumb, Gd, ImageMagick
Acceleration = partial/900, partial/900
Operating system = Linux cgi0704.int.bizland.net 2.6.29.4 #1 SMP Mon Jun 1 13:08:14 EDT 2009 i686
Default theme = carbon

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-07-23 22:58

None of that will work. The only thing to do, to protect your images is watermarking them.

If I can see it, I can copy it, period, end of story. Gallery treats that as an animation, as you've found out. If you had it converting these to images (thumbnails, etc) I could still grab the image. Heck even if it's in swf format, I'm pretty sure I can get it if I want it.
http://www.google.com/search?q=extract+swf

Watermarking the image and disallowing access to the full image size is the ONLY way to protect your images.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2009-07-23 23:07

There is no toolkit to generate thumbs from a swf.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
picdude

Joined: 2006-06-13
Posts: 176
Posted: Fri, 2009-07-24 16:32

I realize that if it's on the web, it can be copied. All of my proofs are watermarked and resized before uploading.

What I'm looking for is a way to prevent dragging and dropping the images onto the desktop and to prevent emailing the page with the image to oneself.

I know there are other ways around it, but these are the two that I would like to secure against.

The .swf looked promising, but without thumbnails, I can't use it.

Any other ideas?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2009-07-24 16:54

The only other hack I've seen that I think is somewhat worthwhile is using a transparent gif 1x1 image and using CSS to stretch that transparent gif over the entire image. Then if anyone right-clicks and tries to save that image or drags it to their desktop, they get that 1x1 transparent image and not the image behind it.

There was/is an explanation of how to do this in the forums somewhere, I can't find it right now though.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-11-04 19:31

I just compiled ffmpeg 1.0 on my server and noticed the can now demux swf.
So I added application/shockwave-flash to my ffmpeg module's list of supported formats and...
I get thumbs from swf

To bad its like 5yrs too late!

 
picdude

Joined: 2006-06-13
Posts: 176
Posted: Sun, 2012-11-04 21:28

Never too late, suprsidr!
I'll probably be revamping my site again in the late winter/early spring so I may be in touch with you soon(ish).
Thanks!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-11-04 21:45

I have a better way of protecting your images using html5 <canvas />
I watermark on the fly and you cannot see the original image url in the source.
example <- I know its G3, but I can easily do the same w/ G2

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
picdude

Joined: 2006-06-13
Posts: 176
Posted: Sun, 2012-11-04 22:03

interesting....
how does that improve over using flash as I am now?
does it have security over screen captures, by chance...? that is truly the bane of my biz...

one of the things I'll be looking into in the winter/spring is switching to G3.... if it can handle an extensive checkout setup and about 100,000 images...

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-11-04 22:07

watermarking is the only way to protect your images on the web.
And a good watermark would go from corner to corner.

There is absolutely no way to stop screen captures.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
picdude

Joined: 2006-06-13
Posts: 176
Posted: Sun, 2012-11-04 22:26

didn't think so, but i keep asking just in case.
I revamped my watermark this year and got a few complaints about it being too obstructive, so I think I'm on the right path.
FYI, here's one of my proofs....
http://www.photosbybailini.com/g2/v/Equine/2012/ohta_champs___grandview_-_sep_8-9/candids/080912-C042.jpg.html

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-11-04 22:34

You'll notice in my example the watermark darkens when you mouse over. It would be just as easy to start dark and lighten.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
picdude

Joined: 2006-06-13
Posts: 176
Posted: Sun, 2012-11-04 22:39

I did notice that. pretty cool.
is that server-intensive to run? I'm on a VPS, but don't have a whole lot of resource.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-11-04 22:43

Ah.. the piece de resistance is that it is all client-side

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
picdude

Joined: 2006-06-13
Posts: 176
Posted: Sun, 2012-11-04 22:52

Nice!
Definitely have to get in touch with you when I revamp, then.
Thanks!