Jump to content

New To Image Functions


ShoeLace1291

Recommended Posts

I haven't worked with image manipulation much.  I am making a website for my clan.  Members can register and upload their photos to their profile.  On the index is an area that lists the four newest members.  I want an image that will display the photo the member uploaded in the background, the member's rank symbol, and the member's gamertag.  All of this information is stored in a database.  I just don't know how to do any of this.  I want it to be something like memphoto.php?gamertag=somegamertag. 

 

Any help would be appreciated. 

Link to comment
Share on other sites

Make your subset images (The ranks)

Make a file uploader

Verify the uploaded file is valid

Use GD functions to resize the uploaded image

Create a new image from background using the uploaded

Add the subset information above this new image

save the image to a file path associated with the file name or store its binary in mysql

recall it (if its in mysql you will need to recreate the jpeg on each load)

 

There are lot of upload tutorials out there

Also check out tutorials on using truetype fonts to add text to an image

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.