Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

How to call featured image url at a specific size

  • #2154
    Avatar photo[anonymous]

    I’m trying to use a specific size of the feature image in the top of the page, rather than the original one. I found this in the dev section in support,

    {{urlDIMENSION_NAME}} – URL of the resized version (specified by DIMENSION_NAME variable e.g. urlLarge)

    but I can’t get it to work. I’ve tried urlLarge, urllg and url-lg.

    Anyone got idea what I’m doing wrong?

    Thanks,
    Ed

    #2158
    Avatar photoBob

    Hi,

    Firstly, look into the confing.json and check the available thumbnails sizes in the “files” section; then use it as follow: {{urlXs}} where the dimension variable starts with a capital letter.

    #2170
    Avatar photo[anonymous]

    Thanks for the quick reply.

    Works!