Recent Topics

Adding a link to a photo

Started by on Dec 14, 2015 – Contents updated: Sep 16, 2016

Dec 14, 2015 09:27    

I want to create a POST with an Image, but that image should have a link to a local file.
When I create the post, I create the content, add the image, save, and use the image.
This is creating a content like this :

<p> </p>
<p>test video. cliquer sur l'image, puis autoriser l'exécution de la page :</p>
<p> [image:234:]</p>

I would however add the following link to the image :
<a href="file://G:\PUBLIC\gpo\VLC\Files\localview.exe"></a>

How to do this

Dec 18, 2015 23:24

@jevylux all you need to do is put the image tag inside a link tag.

<p><a href=""> [image:234:]</a></p>

If your site is online, then the file should be also uploaded in in the same server.

Sep 10, 2016 23:19

I have the same problem, despite inserting the image tag into the link.
<p><a href="" target="_blank">[image:17]</a></p>

All it does, is to open up the enlarged image in a pop-up window. I have also tried the img src hyperlink option. The hyperlink works with that one, but it does not allow responsive resizing of the image. Is this a trade-off I have to accept just now - responsiveness vs. hyperlinked image?

Here's the website:
The image sits in an Intro-Front post if that makes a difference.

Sep 11, 2016 22:25

Custom CSS works a treat! Instructions are clear. Thanks!

Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.