 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
Hugh
Joined: 17 Nov 2008 Posts: 2
|
Posted: Mon Nov 17, 2008 9:00 pm capture image from screen |
|
|
|
Hi All,
Great to be a part of this group. I do hope I'm posting to the right forum.
How can I get the image from another program (like paint) embedded into HTML. Specifically I wan to be able to get an image from an external source such as a scanner or camera. Paint has this ability. Without saving this image I want to get this image displayed in an HTML tag for subsequent posting to the server.
Hope I made sense. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8431 Location: Castle Pines North, CO USA
|
Posted: Tue Nov 18, 2008 6:55 am |
|
|
|
I did move the post to the images and graphics zone instead of the Introduction zone.
You will have to save the image first to your computer. And then you will have to upload the image to a web server. Once that is done, the way to have the image show up on your HTML page would be something like
| Code: |
| <img src="images/filename.gif" alt="Alt info" /> |
You would change the path to point to your image.
Now if you are trying to prevent users from copying your images from your web site, check out the How can I protect my Images post.
_________________
Corey
Residential Office Solutions | Mile High Merchant Accounts | Expression Web Blog |
|
Hugh
Joined: 17 Nov 2008 Posts: 2
|
Posted: Fri Nov 21, 2008 10:12 pm Reply |
|
|
|
Thanks for your reply.
My intention is to scan an image at the client-side then save the image to the server using php. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8431 Location: Castle Pines North, CO USA
|
|
sticks464

Joined: 31 Dec 2006 Posts: 1284
|
Posted: Sat Nov 22, 2008 9:11 am |
|
|
|
It's fairly easy to upload an image from a camera card as these are considered external storage devices. You need a Php uploader as Cory mentioned to get the image to the server. If you scan an image it will have to be saved to your computer somewhere before editing or uploading.
What you must keep in mind is direct uploading does not let you resize or optimize the image for display. Depending on the size of the image and the weight (kb) no scripting either server side or client side will reduce the weight or actual size. This causes a problem for bandwidth as the larger the image, the longer it takes to display. The ideal way to display images is to use a graphic editor to resize, edit and optimize, save and then upload to the server. |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|