+ 1

HOW TO ADD PIC TO HTML PAGE?

I created a photo in adobe photoshop cc and saved it as JEROMELOGO and the extension was saved as .psd. I went to add it to my page so I put the entire file location which was C:\Users\minem\OneDrive\JEROMELOGO.psd but when I put that as my <img src> it didn't do anything. Can I use that photo or is the extension invalid. or what am I doing wrong. PLEASE HELP

14th Apr 2018, 10:51 PM
Someone Else
Someone Else - avatar
5 Answers
+ 7
PDF isn't a valid format.
14th Apr 2018, 11:18 PM
Mickel
Mickel - avatar
+ 6
Are you using web server? In that case you canโ€™t use images or other files outside your web root. And you must access them using http protocol. And the extension is wrong like others said already.
15th Apr 2018, 3:34 AM
Toni Isotalo
Toni Isotalo - avatar
+ 5
As mentioned by others, you need to embed the image in HTML with supported format and the most common are .jpg, .png & .gif. Therefore you can export your .psd into any format above and put it into the same folder as your HTML, then you'll be able to display it like:- <img src="JEROMELOGO.png" /> Hopefully it helps! ๐Ÿ˜‰
15th Apr 2018, 3:01 AM
Zephyr Koo
Zephyr Koo - avatar
+ 4
Exports the image to another valid format. Here is a list of the supported formats. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
14th Apr 2018, 10:59 PM
Mickel
Mickel - avatar
+ 4
Export your image as a .jpg
14th Apr 2018, 11:36 PM
Bruce C
Bruce C - avatar