How to assign a link to an image?
-
I want to link an image to a downloadable file.
So that if the user clicks the image, the file is downloaded.
Right now in the Gutenberg editor:
– I select the block containing the image
– selectTools (...) > Edit as HTML
– add a “<a href='[URL-to-downloadable-file]'>
” in front of the image’s “<img src />
”
– add a closing “</a>
” after the “<img src />
”
– selectTools (...) > Edit visualy
There must be a simpler way to assign a link to an image???
–Skidrow
- The topic ‘How to assign a link to an image?’ is closed to new replies.