Building With

GenerateBlocks

Useful tips for building advanced blocks.

Link Image To Media

With the new GenerateBlocks Image block, you get a ton of new features to customize an image any way you would like it. That being said, some of the common features that were offered on the default image block aren’t as straightforward anymore.

If you are looking to link the image to the media file, you would need to perform the following steps.

1

Add an Image block from GenerateBlocks and select any image of your choice.

Add Image Block

2

On the right-hand side, scroll down to Dynamic Data and click on Enable Dynamic Data.

Enable Dynamic Data

3

Set the following source options:

Data source: Current post
Image source: Do not select anything (leave on Select)
Link source: Select Single image from the dropdown menu

Single Image

Final Results

Click on Save draft or Publish, and you are done!

If you click on the image, it should take you to the media file or in my case, I have it set to open as a pop-up to view as a large image.

Leave a comment