Creating an image from existing ones?

This is a bit confusing, so forgive me if you do not understand what I ask. I am trying to develop my skills, and I wanted to move on to images as the next step. I did a bit of work, and I thought that a good way to try this might be to create military tape racks depending on the parameters that the user selects.

(For example, an example: http://www.ribbon-rack-builder.com/ribbons/build/4 )

Now, having looked at the source code, I see that the creator of this website creates a form with all the various ribbons and allows the user to select the ones they want using the checkboxes. Then this form is placed in some PHP on the page.

Being new to the concept of image, I have no idea what kind of PHP it is. Can someone give me an idea of ​​how this site can do this, and where should I start if I want to create something like this?

Thank you very much!

+4
source share
1 answer

First you need to set which checkboxes were checked :

Give a name in the form of check_list [], and you will be able to access all the flags in the form of an array ($ _ POST ['check_list'] [])

Secondly, you will most likely want to use GD and the image functions built into PHP.

There are a lot of things there, and this can be confusing, so I suggest you read some questions on SO on the topic: https://stackoverflow.com/search? q = merge + image + [PHP]

+2
source

Source: https://habr.com/ru/post/1493201/


All Articles