12% off of LTD using this coupon: TWELVEPERCENTOFF. Promo ends on 2 Dec midnight UTC.
Published on Jan 20, 2020

How to use dynamic images of any size in Oxygen

Sridhar Katakam

As of Oxygen 3.1 RC1 not all registered (default and custom) image sizes are available in the Insert Dynamic Data > Featured Image and other places where featured image or other dynamic images' (like coming from a custom field) URL can be set. Bug report in Github.

In this members-only tutorial I show a workaround wherein we can define a custom function that returns the URL of the image (featured image in this case) in the specified size.

Once the function is in place, we can call it via data > PHP Function Return value.

Step 1

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: [Function] Get Featured Image URL in specified size


This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $599 one-time).

Already a member? Log in below or here.