Links

Link thumbnail to large image

For when you want to link the Featured image to its larger original image file.

Modify the Custom HTML Markup (Pro)

  1. 1.
    Copy the HTML Markup and paste it into the Custom Markup field
  2. 2.
    Amend the image field, to wrap into the link, like this $imageField$
  3. 3.
    Add the following code to the Markup -> Custom Markup Variables field
<?php
​
return [
'imageUrl'=>wp_get_attachment_image_url($_fields['imageFieldName'], 'full'),
];
  1. 4.
    Replace imageFieldName with the target image name.
Note: Choose Return Format -> Image ID for your ACF Image field, for this to work.