Jump to content

Recommended Posts

Hi, please bear with me, I think this is the right forum for this.

 

I'm looking to create a dynamic image with php, I was using this tutorial:

 

Its basically what I want but it also lacks part of what I want, I want to be able to set an image as the background image and put another one on top of that one dynamically, in a position specified by x,y coordinates, like if you are adding text, but I'm no good at php coding.

 

So basically, just like the tutorial above, I want to create a dynamic image, with the ability to add text to the image through php (specifying fornt,font size and color and x,y coordiate) and add a images on top of the background image specifying x,y coordiantes. (like the tutorial I want to be able to upload the images to one folder and just put the file name in the php code)

 

I'm not sure of the specifying font part, if its possible to upload the font file (.ttf) somewhere on the server and specify the location in the php code.

 

In the end like the tutorial, be able to link to an image (image.png) that has the php code in that that dynamically generates the image based on the code in it.

 

Thanks a million for any help.

Link to comment
https://forums.phpfreaks.com/topic/108912-dynamic-images/
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.