68 posts
  • Bosnia and Herzegovina
  • Bought between 10 and 49 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 200 and 499 users
  • Sold between 10 000 and 50 000 dollars
DizajnMagazin says

Hello guys! Does anybody know some plugin for wordpress who could make .gif files to play on click?

You can see what I mean on this url:

http://www.buzzfeed.com/burnred/cat-got-neck-281t

If there’s not such thing then maybe it could be good idea for some plugin developers :)

5388 posts
  • Australia
  • Bought between 100 and 499 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
Australia says

LOL thats not controlling a GIF .

That is just a bit of script.

They grab a frame ( first frame of image and store as say png ) with an overlay PLAY button.

Onclick they play gif is instantiated.

Nip on STACK and ask thm, its just js.

They have preview as:

http://s-ak.buzzfed.com/static/imagebuzz/web04/2011/7/13/18/anigif_cat-got-neck-30467-1310595819-68_preview.gif

and mask the GIF using a nifty bit of JS

http://s-ak.buzzfed.com/static/imagebuzz/web04/2011/7/13/18/anigif_cat-got-neck-30467-1310595819-68.gif
68 posts
  • Bosnia and Herzegovina
  • Bought between 10 and 49 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 200 and 499 users
  • Sold between 10 000 and 50 000 dollars
DizajnMagazin says

Oh thanks, I thought it was plugin :) So, will try to contact them to see if they want to help me ;)

by
by
by
by
by
by