Jump to content

Play gif when hovering over image

Recommended Posts

I am creating a gallery of my works and instead of filling it up with several pictures from each project, I am wanting to have the images that I have made a gif for play that gif when I hover over it. I've been trying to figure it out but am coming to the realization that my coding classes in HS have not stayed with me much. If anyone had ideas or suggestions, all would be welcome thanks.

Website Password is 314, gif linked below is the one I'm wanting to add.

0065.png

RadioRender01.gif

Link to comment

A method like this should work:

https://codepen.io/QDeltaE/pen/VWGYOB

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Likely the way will be via a code block, adding this to a gallery block will be much more challenging.

Edited by Ziggy

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.