Jump to content

Using images with php


almightyegg

Recommended Posts

Just a question....

Could I have a link like:

draw.php that would turn out nothing but then if I add:

draw.php?model=black&hair=buzzcut&glasses=shades

it would take several images and layer them on top of eachother (like model_black.jpg hair_buzzcut.jpg etc..)

Is it possible ???

Link to comment
Share on other sites

those are designed to be extracted on your server.  are you on a hosted plan?  check to see if they have gd installed.  if they don't, not sure if you can use it.  If you are allowed to install it, you could also extract the files on your local computer using www.rarsoft.com.

 

I can't remember, but I think you can also use imagemagick as well as gd but it is not as "integrated".

Link to comment
Share on other sites

I doubt it.  Image manipulation appears to require binary changes.

 

if that is "all" you are doing and they are the same sizes, you could set the yellow image as the background image, then set the green image as a image in the table cell (just give it clear edges).  Or you could use css.

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.