Skip to content

Vimeo - Is it possible to get a higher quality version of the image?  #391

Open

Description

@helleholmsen

{{ entry.oembed.media.image }} always gives me a small version of the image I'm trying to fetch - example: https://i.vimeocdn.com/video/938592587_295x166.jpg

I'm guessing this is because when I dump the element from vimeo the dimensions are always small, for example:
"width": 426
"height": 240

Is it possible to set the width and height to be hq before the element is rendered?

Activity

  1. paulhennell commented on Oct 16, 2020

    @paulhennell
    Contributor

    It seems vimeo is generating the files on the fly using the dimensions given so actually getting a larger image is actually pretty simple:

    https://i.vimeocdn.com/video/938592587.jpg   //No underscore gives the full size image
    https://i.vimeocdn.com/video/938592587_500.jpg  //Underscore & number gives you a image resized to that width (or smaller if the number is bigger than the max size)!
    

    So embed could extract a larger image by modifying that url, but it's probably bad practice to modify information to values not explicitly returned by the provider.

    Nothing stops you from stripping those end dimensions your side though!

  2. Vitorinox commented on Nov 21, 2026

    @Vitorinox
    Collaborator

    This is addressed in PR #593: Vimeo thumbnails now use the full-size image (without the resized _N suffix). It is planned for 4.7.0. If you want to try it before the release:

    composer require embed/embed:dev-feat/providers-4.7.0
    

    Feedback is very welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions