croping picture from a source website and save it in mysql

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
radieux_scablem
Forum Newbie
Posts: 4
Joined: Tue Sep 06, 2005 1:07 am
Contact:

croping picture from a source website and save it in mysql

Post by radieux_scablem »

Hi!!!!!!!!

I want to ask if it is possible in PHP to crop picture from a website and save
it in mysql database. I anyone who knews this things please gave me some
sample codes to do this..

Thanks in advance
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

have a look at the many thumbnail creation threads we have, seasoning with the storing images in database thread.
radieux_scablem
Forum Newbie
Posts: 4
Joined: Tue Sep 06, 2005 1:07 am
Contact:

Post by radieux_scablem »

I have scrutinezed the links but all stuff thier needs a source image and then resize it and etc.
what i need is that something to capture the current screen and the user could crop some part of it.
can anyone help me this things? I have made this in VB but for now I need this feature in the website that
i made...

Thanks in advance......
User avatar
dbevfat
Forum Contributor
Posts: 126
Joined: Tue Jun 28, 2005 2:47 pm
Location: Ljubljana, Slovenia

Post by dbevfat »

Database is not intended to hold images. Save them to disk in an off-web path and use database to hold meta information only (name, path, size, etc).
radieux_scablem
Forum Newbie
Posts: 4
Joined: Tue Sep 06, 2005 1:07 am
Contact:

Post by radieux_scablem »

no thats not what i mean, what i mean is that real time capture of the image.

for example you are browsing a website and then you to capture an image from a section of that website
you can just drag select of that portion like the selection tool in photoshop..


anybody can help me with these thing???
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

that's not possible with PHP alone.... and your original post had nearly nothing to do with what you want to do, other than "images".
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

in terms of functionality pretty much like: http://www.danvine.com/icapture/ I suppose?

You'd need a program capable of taking screenshots of websites which you can call via PHP's exec() function.
radieux_scablem
Forum Newbie
Posts: 4
Joined: Tue Sep 06, 2005 1:07 am
Contact:

Post by radieux_scablem »

Thank You very much!!!

If php cannot handle this alone, what are the ways to achieve this? does any one knows?
i have visit icapture but it seems the server is busy. and i cannot view the sample caputured image.

Thanks in Advance....
Post Reply