Home Forums Backend Issues (wp-admin) Replicating Thumbnail Generation from Media Library to ACF Gallery


Replicating Thumbnail Generation from Media Library to ACF Gallery

  • Hello,

    I have developed a simple plugin that generates a thumbnail from the first frame of a video when it is uploaded to the media library. This thumbnail is then displayed as the thumbnail image instead of the default video icon.

    However, I’m encountering an issue when trying to achieve the same functionality in the ACF Gallery when uploading videos. I initially assumed that it would access the media library and replicate the same behavior.

    Is there a specific step or approach I should follow to replicate the behavior from the media library to the ACF field?

    If you require more details, I would be happy to provide you with my code. I appreciate any guidance you can offer.

    Thank you in advance.

  • The ACF Gallery field does not support videos. What are you using to enable this support?

    In most cases ACF uses all of the functionality of WP for uploading images and other files. It calls the WP built in media modal used by WP. The only difference is that ACF gets the ID from that window when a file is selected and applies it to the ACF field value.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.