Link to original image

64 views
Skip to first unread message

polinom

unread,
Jan 28, 2022, 11:21:01 AM1/28/22
to Epsilon Notes

By default, the photo is inserted without a link to the original:
![image](images/IMG_20220126_195659.jpg)

To insert a link, you have to manually write the HTML code:
<a href="images/IMG_20220126_195659.jpg"><img src=" images/IMG_20220126_195659.jpg"></a>

How can this process be automated? What are the options?

R 4

unread,
Jan 29, 2022, 9:55:39 AM1/29/22
to Epsilon Notes

No, no, just type it in this manner [![](/path-to-image.ext)](/path-to-image.ext)

In fact you could put path to image into any correct link, as example:

[![](https://static.keptelenseg.hu/thumbs/gif/p/ef28e222422a1d77631ef792251a0454.gif)](https://static.keptelenseg.hu/p/ef28e222422a1d77631ef792251a0454.mp4)

will display image but after you click the image, browser will open video.
пятница, 28 января 2022 г. в 20:21:01 UTC+4, polinom:

polinom

unread,
Jan 29, 2022, 4:09:40 PM1/29/22
to Epsilon Notes
Thank you, this method is much more convenient than HTML code, but I'm still looking for an easier way to add images to a note.

суббота, 29 января 2022 г. в 17:55:39 UTC+3, R 4:

R 4

unread,
Jan 30, 2022, 8:16:29 AM1/30/22
to Epsilon Notes
I not completely understand that you need. Maybe you want all pictures became clickable?  
It is possible with a script only.

<script>$(function(){
        $("img").each(function(){
            $(this).wrap(
            "<a href='" +
            $(this).attr('src') +
            "'></a>"
            )
        });
});</script>

You can add it to «HTML Header and footer -> Header» in Preferences.

воскресенье, 30 января 2022 г. в 01:09:40 UTC+4, polinom:

polinom

unread,
Jan 31, 2022, 6:57:33 AM1/31/22
to Epsilon Notes
Many thanks! Everything works as I wanted )

воскресенье, 30 января 2022 г. в 16:16:29 UTC+3, R 4:
Reply all
Reply to author
Forward
0 new messages