How to convert pnj, jpg into Link in HtMl? Plzz help me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to convert pnj, jpg into Link in HtMl? Plzz help me

14th Mar 2021, 1:04 AM
SAWERA AKRAM
SAWERA AKRAM - avatar
5 Answers
+ 4
<a href="page.html" > <img src='img.png'> </a>
14th Mar 2021, 1:23 AM
Jamal Saied
Jamal Saied - avatar
+ 3
you could convert image to base64 url encoded... but that could be heavy in source code: https://code.sololearn.com/WljGVfpz1Dp1/?ref=app there are tons of online free converter that you can easily find by a google search ;)
14th Mar 2021, 1:54 AM
visph
visph - avatar
+ 1
Can you explain how to specify the absolute URL to image.
14th Mar 2021, 2:33 AM
SAWERA AKRAM
SAWERA AKRAM - avatar
0
absolute urls could skip protocol (it will be inherited by the page url protocol) by only using //: //www.example.com/directory/file.ext however, this means that your image host should handle both http and https protocols, as you don't know wich one will be used ^^
14th Mar 2021, 2:41 PM
visph
visph - avatar
0
this following site easily converts PNJ to JPG, yet not reversed as far as I found https://ezgif.com/webp-to-jpg just Choose the PNJ file through button on the WEBD-to-JPG page , then hit the lower Convert button, scroll further down and download the JPG image thereafter Tadaaa
18th Jul 2023, 11:51 PM
Robin