Similar Posts

Subscribe
Notify of
1 Answer
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
MagicalMonday
2 years ago

As general as you ask, your picture is probably an animated gif? Then you should simply replace it with a static image after the click. This would be either a little over 3000 different images, or you’ll recover the image using the gd library.

You could also make every cube a separate picture, which would be much more sensible.