WordPress.org

Ready to get started?Download WordPress

Forums

GIF Animation Preview
[resolved] Featured image (8 posts)

  1. akis
    Member
    Posted 3 months ago #

    Hi there,

    This looks like a great plugin, any tips on making it work for featured images?

    I'm more interested in generating the static jpg on uploading the featured image, I can manage the rest of it. Maybe save the JPG path on a custom field?

    Thanks!

    https://wordpress.org/plugins/gif-animation-preview/

  2. SubZtep
    Member
    Plugin Author

    Posted 3 months ago #

    Hi,

    Thanks for your feedback. It's a good idea. I'm planning to create an admin interface for additional settings. Maybe I should add an extra box for the edit post page for this..

    Currently you can overwrite the generated image. Easy to find, just right click on the preview image for get something like this:

    http://yoursite/wp-content/uploads/date/yourimage-gifpreview.jpg

    Make your own preview and upload to your server to the same path.

  3. SubZtep
    Member
    Plugin Author

    Posted 2 months ago #

    I've been updated the preview image url, please find:

    'http://yoursite/wp-content/uploads/date/yourimage-gap.jpg'

  4. akis
    Member
    Posted 4 weeks ago #

    Sorry for the delayed reply, does it work now with featured images? Still can't see any *-gap.jpg files.

    LE.
    Hm, might be related to Photon, I'll have to check it out.

    LE2.
    Yup, that was it. Photon (Jetpack) added the resize parameter and the plugin did not recognized the image as gif.

    I've also added post_thumbnail_html filter.

  5. SubZtep
    Member
    Plugin Author

    Posted 3 weeks ago #

    Glad to hear you could fix it. I never tried Photon plugin, I'll have a look. And also I'm going to add this filter to the next release, thanks! :)

  6. akis
    Member
    Posted 3 weeks ago #

    No problem, one other thing. I've noticed that gifs are preloaded automatically even though I don't view them. Is that something intentional? Would help a non-minifed version of gapplayer.min.js
    All gapParams are set to no.

    Thank you.

  7. SubZtep
    Member
    Plugin Author

    Posted 3 weeks ago #

    Images preload on desktop browsers but not on mobile. Somebody said loading gifs are slow, so I decided this way, because preload huge images on mobile network is not very nice. Btw I'm open to any other suggestion :)

    You can find unminified version of the js here: https://github.com/SubZtep/gif-animation-preview/blob/master/gapplayer.js

  8. akis
    Member
    Posted 3 weeks ago #

    It's probably a good idea so I'll leave it this way. An option to disable or enable this would be nice though, maybe some users have limited bandwidth.
    Thank you once again for the fast reply.

Reply

You must log in to post.

About this Plugin

About this Topic