Add a link and target inside an image

Enonic version: 6.4.1
OS: Windows 10

Hi everybody

Is there an option to set an url and target inside a content type image?

Thank you for your help

Hi =)

What is the purpose? Is it to display a little thumbnail image, and when clicking it open a bigger image (full view )?

Or do you mean something with the configuration of the content type?

I want to set url and target in the image for using these values in a slider (when an user clicks on the image it will open the url that I have established)

If I understand you correctly, this might be a good use for item-set in the content type or part config. The item-set could contain an ImageSelector and a TextLine input for link URL. This will allow you to add as many images with URLs as you need.

1 Like