How to copy any image? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to copy any image?

What is the best procedure to copy a picture url from free website to my practice html page. What extension should I use with the url, gif, jpg, PNG or jpeg. Please explain.

10th Dec 2019, 11:06 AM
Dushyant Kumar Tyagi
Dushyant Kumar Tyagi - avatar
5 Answers
+ 6
Dushyant Kumar Tyagi you can't directly used and change the image extension from online image. For changing extension the easiest way is to download the image and open the image in paint from their you can change the extension other methods with this method are mentioned in this thread https://www.wikihow.com/Convert-Pictures-To-JPEG
10th Dec 2019, 12:16 PM
GAWEN STEASY
GAWEN STEASY - avatar
+ 5
For web design use jpeg, or progressive jpeg wich could be saved by photoshop, they are smallest in size due to their compression algorithm . Also they are more suitable for personal photos due to their wide range of possible colors. Progressive jpeg enables a progressive load to the picture wich will enhance the overall pageload time
11th Dec 2019, 8:19 PM
ihab 🌼
ihab 🌼 - avatar
+ 4
Dushyant Kumar Tyagi you need to host image in any image hosting website as sometime direct online image is not worked in sololearn so download the image and upload that image in image hosting website like dropbox or drive or imgur and copy the uploaded link and paste in the img tag
10th Dec 2019, 11:20 AM
MsJ
MsJ - avatar
+ 4
Open the image to view, you need to long press on it. When it opens on such a black background, then at the top you can copy the link and it will quietly be inserted where you need it
10th Dec 2019, 2:30 PM
Немерцающий Свет
Немерцающий Свет - avatar
+ 1
Does my adding.jpg as extension to copied url is creating problem?
10th Dec 2019, 11:22 AM
Dushyant Kumar Tyagi
Dushyant Kumar Tyagi - avatar