HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
capture image from screen
Post new topic   Reply to topic    HTML Help Forum Index -> Images & Graphics
View previous topic :: View next topic  
Author Message
Hugh



Joined: 17 Nov 2008
Posts: 2

PostPosted: Mon Nov 17, 2008 9:00 pm     capture image from screen Reply with quote

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

PostPosted: Tue Nov 18, 2008 6:55 am     Reply with quote



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

PostPosted: Fri Nov 21, 2008 10:12 pm     Reply Reply with quote

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

PostPosted: Sat Nov 22, 2008 6:43 am     Reply with quote

Ah, I don't know PHP at all, I rely more on ASP / .NET in a Windows environment.

But it sounds like all you are wanting is a PHP Upload Script.

_________________
Corey
Toll Free Solutions | Mile High Merchant Accounts | Expression Web Blog
sticks464



Joined: 31 Dec 2006
Posts: 1284

PostPosted: Sat Nov 22, 2008 9:11 am     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> Images & Graphics All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial