• Resolved Harriman

    (@harriman)


    Thanks for creating this nice plugin! I have one ask – I’m trying to eck out as much speed as I can, and am in no need of maxresdefault sized thumbnails at any time. I need to be able to specify sddefault, or even mqdefault, as an overriding option – editing PHP is a viable option for me if necessary. Pagespeed insights LCP, INP FCP, and possibly CLS and TTFB could all be improved.

    For example, a thumbnail at maxresdefault is ~160kb, and the sddefault image is ~21kb. And for 10 images, that adds up!

    For a single video source type, this is not as critical, but still wanted. For the playlist source type, it’s very heavy, as each of the thumbnails are scaled small, yet are using maxresdefault sized images.

    Thanks!

    YT image sizes:

    Maxresdefault: The maximum resolution available

    Hqdefault: The standard size

    Sddefault: The high size thumbnail

    Mqdefault: The medium size thumbnail

    Default: The default image

Viewing 1 replies (of 1 total)
  • Plugin Contributor wpvideogallery

    (@wpvideogallery)

    Unfortunately, our current version doesn’t have any developer hook to override the thumbnail image URL. I promise that our next version will have this.

    As a quick solution, you can simply edit the following file and change the thumbnail path,

    /wp-content/plugins/automatic-youtube-gallery/public/templates/thumbnail.php

    If you are using our PREMIUM version, you should edit the following file,

    /wp-content/plugins/automatic-youtube-gallery-premium/public/templates/thumbnail.php

    Hope this solved your issue!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.