I have a folder of images on my local disk. If I drag one onto the Firefox icon in my toolbar, it shows that image in browser. The URL in the address bar is:
file:///E:/%5B%20Program%20%5D/TempProject/%5B%20Win%20Project%20%5D/%5B%20Samim%20%5D/Samim_NewVersionSource/EducationalErpSolution/EducationalErp/bin/Debug/ImagesWeb/1.jpg
However, if I use that URL as the src attribute on an img element, I get a broken image.
<img src="file:///E:\[ Program ]\TempProject\[
Win Project ]\[ Samim]\Samim_NewVersionSource\EducationalErpSolution\EducationalErp\bin\Debug\ImagesWeb\1.jpg">
Is there a way to get the browser to display an image coming from the local file system, and if so, what's the syntax for the URL?
You could base64 encode your images using one of the many free online services and include them in your html:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABPCAYAAAAgGwHHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9v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HgIJXsL8PClPkmTtSxsjITe/kVfzbzTj353Ah26FDtw3fz5hkpAAuSS6l6vUJDcrISpAlqjpFGywFVr15q9v33gWz48NogUoo1pI2LFOq/c2eIPC/+Dofupk7VybtC1UyUrqEULaelhcoAGgwqRtrJ9L/zgvuRELzwgoGlpvp+plgKCsk3enwmCV2btrw7EwhgTzzu94vmlwKyHTuCKUoPlaNp/J1PVapJ2nn+r1e8X7kyUI6gf/m6wch3//23C+sXGP7sjVIa2Z9KwfjRo45fse6r24V/yqtzZ4HZbOHs/Pmwv+R2ofS/VETD/ZjD1ea7rV4TiJMnXHjkkYq/ArnSBlLO/wowALCEHrxa4EuFAAAAAElFTkSuQmCC" alt="The Acme Cheese Company">
This works for me:
<img src="\\D:\Img\test.jpg">
Related
I have an issue with web I am developing HTML/CSS (only design), if I open it in firefox from my harddrive no pictures are displayed, there is a small icon instead like picture can not be loaded. If I rightclick on a icon and select open picture in new tab than picture is displayed on a new tab without issue.
But if I open webpage from my hardrive in IE, edge or chrome than all pictures are displayed directly on a page in a browser without issuel.
What can be wrong with mozilla or with page?
I tried all these recomended fixes: https://support.mozilla.org/en-US/kb/fix-problems-images-not-show.
this is picture URL: img src="D:/UserData/z003xner/Documents/My Web Sites/bubabikes/Images/30.1.2023.jpg" and i tried forward slash and bacward shash and nothing helps
Try to put the image inside the project folder for eg : {project_path}/images/1.jpg and call the image using the domain name in the project suppose the project domain is https://example.com call the image using
<img src="https://example.com/images/1.jpg" class="image" />
or if in localhost :
<img src="http://localhost/project-name/images/1.jpg" class="image" />
It’s hard to tell, but the issue may be the spaces in your file path — try replacing them in your html with %20 like this
my/file%20path%20has/spaces.jpg
You can look up “url encoding” for more information!
I'm using WampServer. Now I want to display and image that is not in www folder. It is located in C drive's Downloads folder. I want the users to select image from this folder and it should display it.
When I tried, it showed:
<img id="signphoto" src="../../../Users/Vikas/Downloads/dsds.png" />
this address and it's not working. The error was: GET http://localhost/Users/Vikas/Downloads/dsds.png 404 (Not Found)
How can I change it to work? Is there any way?
Actual source of image is: C:\Users\Vikas\Downloads\dsds.png
It would be a security vulnerability if the client could request local file system files and then use JavaScript to figure out what's in them.
The only way around this is to build an extension in a browser. Firefox extensions and IE extensions can access local resources. Chrome is much more restrictive.
If you use Google chrome browser you can use like this
<img src="E://bulbpro/pic_bulboff.gif" width="150px" height="200px">
But if you use Mozila Firefox the you need to add "file " ex.
<img src="file:E://bulbpro/pic_bulboff.gif" width="150px" height="200px">
IE 9 : If you want that the user takes a look at image before he posts it to the server : The user should ADD the website to "trusted Website list".
Here's the scenario: I have two machines on a LAN network. One of them is acting as a web server. When the second, client machine browser (Firefox) makes a request from the server, it sends the following html
<!DOCTYPE HTML>
<html>
<body>
<img src="C:\Users\General\Desktop\map1.jpg" align="middle">
</body>
</html>
The image however is not displayed. I have tried the following variations to the img tag:
<img src="C:/Users/General/Desktop/map1.jpg" align="middle">
<img src="file:///C:/Users/General/Desktop/map1.jpg" align="middle">
<img src="http://localhost//file:/C:/Users/General/Desktop/map1.jpg" align="middle">
Funny thing is if I view the page source and save the html content to a local file and open it in the browser it works. The exact same html code does not work when fetched from the server, but works when opened on the local machine.
Please note that I'm trying to load the image off the client machine because it is impossible to store an image on the server machine in my scenario. (The server is actually an Arduino Mega without an SD card)
In most recent browsers, links to local files ( file:/// ) do not open, for security purposes. In your case, the browser does not display an image that resides on a file on your hard disk. This reason also explains why it works when you save your page locally.
For starter, you need to add the runat="server" attribute.
If that doesn't suffice, then:
you should change
<img src="http://localhost//file:/C:/Users/General/Desktop/map1.jpg"/>
to something like
<img src="http://localhost/General/Desktop/map1.jpg"/>
or even better to
<img src="~/General/Desktop/map1.jpg"/>
which targets the root of the application (you would need to move your image in that directory)
A html page cannot request images from the client host. It must be stored on the server, or in another remote location.
If you are using Arduino you can:
Use embedded css and images. In result you will got whole page by one browser call
Add additional logic to process browser requests for getting css and jpg files from SD card filesystem of Arduino
it can be solved like this:
.img-class
{
background-image:url("../../resources/myImage.jpg");
width: 100%;
height: 100%;
}
<img className='img-class'/>
I try to display images that use img tag .
It works when an image is in a folder in my application ,my code is <img src="images/picture.jpg" >,
but it displays nothing when my code is <img src="www.example.com/pic.jpg" > (I want to display image from website in my app.)
It's about network connection in Emulator?
Sorry for my bad English,
Thank you.
Edit: this is my screenshots from browser and emulator
http://upic.me/ts/i/ak/browser.jpg , http://upic.me/ts/i/gm/emulator.jpg
use full address (url )of image including http part
like
<img src="http://www.example.com/pic.jpg" >
Try inserting the full path of the image from the "root" directory, that is
<img src="./{your_directory_tree_here}/images/picture.jpg" />
The trick here is using "./" before your path.
How can I save an image from the webpage by clicking on a link in smart phone, using JavaScript, jQuery or using HTML controls?
The sample code is as follows:
Save image
<!--The Link to save the image-->
<img src"../images/logo.png" alt="Logo" height="50" width="50" />
<!--The Image that I wanted to save-->`
Now, I want to save the image logo.png in my local folder, by clicking on the link in smart phones (iPhone 4+, Android 2.1+ and BlackBerry 6+)?
Usually browsers have their own handling when you click a link which points directly to a downloadable file: either asks you where you want to save it, or it downloads the file to a predefined location. I'm not sure if you can override this.
For example, iOS shows you the prompt to save the file when you press and hold onto the image. I don't think that you could do that just like in a desktop browser, like httprequest or response.binarywrite (c#).