BobPo Posted January 28, 2019 Posted January 28, 2019 I have a .jpg image that was converted from a .pdf. The .pdf has a text hyperlink to a website that I would like to have in the .jpg. The text is already part of the .jpg. I saw in another thread that all you have to do is highlight the text with your mouse and click on the chain link with the green + in the tool bar. I cannot figure out how to highlight the text, and, there is no chain link with a green + in my tool bar. I am running version 4.1.5 in Windows 10. Quote
toe_head2001 Posted January 28, 2019 Posted January 28, 2019 PDF files can contain rich text and multimedia content. On the other hand, images like JPEGs only contain pixels. So, a hyperlink can't be embedded into the JPEG itself. If you're placing your image on a webpage, you can make the whole image a link. Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab
HyReZ Posted January 28, 2019 Posted January 28, 2019 (edited) JPEG does not support hyperlinking. What is going on in a PDF, HTML, or Powerpoint is that command is embedded within the document format that establishes the link when the image is clicked on. The image may have text in it but the text does not execute. You can designate that clicking on the any part of the image causes the link to execute or that only a designated portion of the image (down to a single pixel) to execute the linking. The JPEG image does not do this, it is the code embedded within the document format that does it. Edited January 29, 2019 by HyReZ Quote
Zagna Posted January 29, 2019 Posted January 29, 2019 You can create an anchor next to the <img> inside a <div> that is positioned absolute. <div style="position: relative;"> <img height="100px" width="100px" /> <a style="position: absolute; top: 30px; left: 20px; height: 20px; width: 20px;" href="#"></a> </div> Position and size the <a> at the correct position. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.