How to display an image from desktop on

I need to display something on plunker which is from my desktop for security reasons, I just want to take a screen shot and dispose of the image basically.

I am trying

<img src="file///C:/users/me/desktop/img1.jpg">

also tried without file///, is this possible with plunker?


Put your HTML documents in the same folder as the image and change the img tag to something like <img src="img.png" alt="" />.

Or you could also add folders to the file path if it is stored deeper in the main folder ( or database ).

EDIT: For plunker use, it can't be done. It must be hosted online (such as a hosting service like imgur), otherwise there is no way the HTML can call it.

Category:javascript Time:2017-12-05 Views:1

Related post

  • How to display an image from web? 2010-10-18

    I have written this simple script in python: import gtk window = gtk.Window() window.set_size_request(800, 700) gtk.main() now I want to load in this window an image from web ( and not from my PC ) like this: How can I do that ? P.S. I

  • how to display an image from a mysql blob field in symfony? 2010-11-16

    How do I display an image from a mysql blob field in symfony? Now it's only echo the text 'Array'. Is it possible just to add a new property to the indexSuccess.php like <img src="<?php echo $persons->getPhoto('[property]') ?>" /> or

  • How to display an Image from a mysql blob 2009-11-19

    I am trying to display an image from a MySQL blob field. I have tried a few different things and none of them seem to work. I have tried: header("Content-type: $type"); img src = $blobData; header("Content-type: $type"); echo($blobData); ------------

  • Android how to display and image from URL 2010-06-14

    I'm having trouble displaying SOME images on my android app. Just normal display image from certain URL. Some images works, some just doesn't work. For instance try displaying this image from URL: It doesn't work. Doesn't even work in emulator. Could

  • How to display an image from an URL within textView 2011-12-11

    I have a textView. In my code I am adding some lines of text in it. I also want to display some image from an external URL (not from my resource folder) just in between those lines. Every thing is dynamic i.e. the text generated and the image URL wil

  • How to display all images from a WordPress post? 2010-10-19

    I'm trying to get all images from a WP post to create a slideshow from them. Googled around and found this piece of code to retrieve and display images from a post: function getImage($num) { global $more; $more = 1; $link = get_permalink(); $content

  • How to display an image from the internet in android? 2010-11-19

    How can I display image in an ImageView in android from a URL (from the internet)? --------------Solutions------------- You can use the method setImageDrawable ImageView iv = new ImageView; URL url = new URL(address); InputStream content = (InputStre

  • How to display an image from blobstore? 2010-12-03

    I am trying to understand the documentation Using the Images Python API and I am confused about how to get the key and display the avatar. Documentation says that the Image handler will serve the image off the /img path. I am confused about what this

  • How to display an image from web in wp7? 2012-01-18

    I have a page in my wp7 application which need to display an image in it. I have a url array. It may contain 0 to 500 urls. If no url present in the array then a message shows "No Images". if only one url is in the url array then the image should be

  • How to display an image from the DB in JSP? 2012-02-01

    I need to retrieve image from MySQL DB. I got a code snippet from somewhere but could not display the image properly in the jQuery panel. The code runs in a new JSP page. Can anyone tell me how to use outputstream effectively in my application? The c

  • How to display an image from a byte array representing the very bytes of a .png file 2012-03-07

    I have a byte array that is the very copy of a .png file in memory and I have to display it in a WPF ImageControl. How to do it? --------------Solutions------------- Create a Memory Stream from the array, load the image from the stream, then set the

  • How to send an image from desktop(client) to server & vice versa 2011-07-19

    I have a web page, by clicking on a Button a file browser dialog box opens (it should be able to access the client's system) choose a jpg/gif/any image file and click OK to send send it to server via AJAX once the image saved in server, a confirm mes

  • How to display the image from assets folder in android? 2011-11-16

    I have kept my images in assets folder and tried to display them. I tried in many ways but still I am unable to display the image. In logcat it is not displaying any error. Please help me regarding this.......... AssetManager mngr = mContext.getResou

  • How to display Picturebox.image from Combobox.selecteditem 2011-12-20

    I'm using VB 2008 express to create a windows form application. I have a combobox named cb_face. The items in the combobox are image file names populated from my resource folder using a "for each" loop. When an item is selected I would like to displa

  • How to Display Uploaded Image from File System 2012-01-19

    I'm attempting to modify an inherited project that has a convoluted process of displaying uploaded images using an ImageMap control. The current process inserts a new database record with image file name as well as model number and part number. The i

  • How to display clicked image from a set of images from a linear layout? 2012-04-03

    i got images from SD card folder and added them to LinearLayout dynamically which is inside a when i click an image i want to show that particular image in another ImageView in the same activity as big image. how can i do tha

  • How to display an image from the user module in PyroCMS? 2013-01-31

    I'm trying to get the image URL which is stored in the user module, using the following code: {{ user:profile user_id="3" }} {{ display_name }} {{ company }} {{ profile_picture }} {{ /user:profile }} {{ profile_picture }} is the image and all that ap

  • How to download an image from the web and display it in an UIImageView? 2010-06-20

    How to download an image from the web and display it in an UIImageView? For example, I have an URL like: Would I need to mess around with NSURLConnection and the like, or is there a simple method that takes an web URL and downloads the image data aut

  • How can we pull images from a website and display in our app using iphone sdk? 2010-11-20

    How can we pull images from a website and display in our app using iphone sdk? Also, how can we embed audio in our iPhone App using iPhone SDK? Can you please refer to any tutorial / videos related to this? --------------Solutions------------- As @Pe

  • How do i display multiple images from an image sprite on hover of an element in css? 2011-03-14

    I have a situation where in on hover of an li element i need to display 3 image from an image sprit.. how do i do this.. plz help --------------Solutions------------- put images in vertically in sprite & define the images background position .the

Copyright (C), All Rights Reserved.

processed in 1.217 (s). 13 q(s)