0

Why do i get x symbol in display screen in an html, when i try to upload my image from my desktop using img tag?

...

30th Aug 2017, 2:22 PM
Srinivas Rao H
Srinivas Rao H - avatar
7 Answers
+ 5
try: file:///c:/your/path/to/image.jpg x symbol is displayed when browser can't search your image file.
30th Aug 2017, 2:41 PM
Amethyst Animion
Amethyst Animion - avatar
+ 3
Maybe you should try right-click it to see its path?
30th Aug 2017, 2:44 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 2
if you want x icon, then it's better to use svg instead of bitmap images, and you don't need to use <img> tag and include image, rather you can also use <svg> and then write code to make it. see this code https://codepen.io/desandro/pen/jEgvpo
30th Aug 2017, 2:46 PM
Sandeep Chatterjee
+ 1
We would understand more if you share your code here.
30th Aug 2017, 2:29 PM
CalviŐ˛
CalviŐ˛ - avatar
+ 1
Even if i send the code it wont work since that image will not be present in ur mob or pc
30th Aug 2017, 2:34 PM
Srinivas Rao H
Srinivas Rao H - avatar
+ 1
I can contact u if u are om kik or fb
30th Aug 2017, 2:35 PM
Srinivas Rao H
Srinivas Rao H - avatar
+ 1
Thanks man! I got the problem....... I iddmt specify the drive path
30th Aug 2017, 2:41 PM
Srinivas Rao H
Srinivas Rao H - avatar