Image is not showing i gave a path or SRC to it | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Image is not showing i gave a path or SRC to it

4th Dec 2016, 5:26 AM
avanish
avanish - avatar
5 Respuestas
+ 3
Make sure that is in the same folder if you are using a local resource. If not, you need to specify where. If you have a folder named images, that is in the same folder than your html: src="/imgages/test.jpg"
4th Dec 2016, 5:33 AM
Nahuel
Nahuel - avatar
+ 2
in sololearn code playground or any website it can not access your local files so you can upload it in web services share and use that link as SRC if it is for your own webpage not code playground then put the correct path in SRC="..." even if it does not show then put the image in same folder as .html and then use src as just file name
4th Dec 2016, 10:37 AM
Sandeep Chatterjee
+ 1
Try to copy the img on the same folder with the proyect, and just put the name. If its showing up, you can later add the new folder. If not, something is wrong with your src or img tag.
4th Dec 2016, 5:52 AM
Nahuel
Nahuel - avatar
0
but i mention the folder also how can i use local resource only how did i know
4th Dec 2016, 5:45 AM
avanish
avanish - avatar
0
Can you post your code so we help you with it?
4th Dec 2016, 8:58 AM
Ogochukwu Nduka
Ogochukwu Nduka - avatar