Closed Thread Icon

Topic awaiting preservation: Beginner - Help on imageuploading/thumbnailing Pages that link to <a href="https://ozoneasylum.com/backlink?for=13023" title="Pages that link to Topic awaiting preservation: Beginner - Help on imageuploading/thumbnailing" rel="nofollow" >Topic awaiting preservation: Beginner - Help on imageuploading/thumbnailing\

 
Author Thread
Cadkins23
Obsessive-Compulsive (I) Inmate

From: Waterbury, CT, USA
Insane since: Dec 2003

posted posted 12-30-2003 10:41

Hi everyone, I'm a beginner as far as PHP goes but I've within the past week surprised myself and become somewhat addicted with learning code.

So far I've managed to allow users to register, a link is sent to their email address, once the link is clicked their access level raises to 1 allowing them to login. Their password is encrypted and everything is stored in the database. They can do a mock search basically retrieving data from my database, and they can now even update their own information (this one took me a little while to get it just perfect) of course I'm using sessions and there isn't a whole lot left but one of the things that I can't seem to find enough information on is to allow a logged in user to upload an image, have that image thumbnailed and then later delete or overwrite the existing picture(s)/thumbnail(s). I know most dating, auction scripts have this feature but some of those scripts are too large in size for someone like me to try and go through the script figuring it all out.

If anyone knows of a good tutorial or example script, I would appreciate your time very much.

I know nothing, for instance is the image contained in the database or just the path to the file contained in the database? Please someone help me out here.

-Chris

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 12-30-2003 15:17

Might want to check out HotScripts

Not a tutorial but they have some scripts that you can check out.

Welcome to the Asylum Cadkins23. Kind of strange...I thought it was me for a second haha! At any rate welcome.

Later,

C:\


~Binary is best~

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 12-30-2003 19:06

you might also want to check our search... there have been quite a number of thumnail related discussions around these parts.

(oh, and because I'm generous today, hope over to the grail and try it's search via this link http://grail.coonabibba.de/search?inputFulltextSearchWord=thumbnail
The grail's the designated new asylum software, and we have imported all the posts about a month back. That search is much faster, though a bit out of date.
Don't worry, most those thumbnail discussions are still there.)

So long,
TP

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 12-30-2003 22:13

This isn't too difficult. Just break down the different steps.

The upload stuff is all in the PHP manual

The only real tricky part about the thumbnailing is that it's going to totally depend on your server and what you have available to you. With image manipulation you have to use some sort of graphics package (GD, ImageMagick, Netpbm etc) to do the actual image transformations and some servers will have these installed some won't.




.:[ Never resist a perfect moment ]:.

« BackwardsOnwards »

Show Forum Drop Down Menu