I need to create a PHP function that I can pass a couple variables and output an image.
Below is 2 images, the one on the left would be the background image and the one on the right is the one that would need to be overlaid. They would both be transparent PNG's. Both images would vary depending on the 2 variables that were passed.
Then I would be able to just create image overlays with varying number of stars rather than having to create hundreds of images depending on how many stars they needed on each medal.
Would anybody be able to create or point me in the right direction to creating a function to do this?
Question
stevember
I need to create a PHP function that I can pass a couple variables and output an image.
Below is 2 images, the one on the left would be the background image and the one on the right is the one that would need to be overlaid. They would both be transparent PNG's. Both images would vary depending on the 2 variables that were passed.
Then I would be able to just create image overlays with varying number of stars rather than having to create hundreds of images depending on how many stars they needed on each medal.
Would anybody be able to create or point me in the right direction to creating a function to do this?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts