Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/279.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在PHP中将2个或更多png图像合并到基本图像上_Php_Jquery_Css_Gd - Fatal编程技术网

在PHP中将2个或更多png图像合并到基本图像上

在PHP中将2个或更多png图像合并到基本图像上,php,jquery,css,gd,Php,Jquery,Css,Gd,我有一个基本的图像,这是圆圈与破折号和另外24个图像与单破折号突出显示。我想在PHP GD的帮助下,将这24个破折号图像合并到基本图像中。或者JS或者CSS 所有图像均为png图像 请帮助我。给图片一个类或id: <img class="progress" src="http://i.stack.imgur.com/ThNPg.png"/> <img class="aboveprogress" src="http://i.stack.imgur.com/drRa2.png"/&

我有一个基本的图像,这是圆圈与破折号和另外24个图像与单破折号突出显示。我想在PHP GD的帮助下,将这24个破折号图像合并到基本图像中。或者JS或者CSS

所有图像均为png图像


请帮助我。

给图片一个类或id:

<img class="progress" src="http://i.stack.imgur.com/ThNPg.png"/>
<img class="aboveprogress" src="http://i.stack.imgur.com/drRa2.png"/>
<img class="aboveprogress" src="http://i.stack.imgur.com/YpCTF.png"/>
.progress {
    position: fixed;
    top: 5px;
    left:5px;
    z-index: 0;
}
.aboveprogress {
    position: fixed;
    top: 5px;
    left:5px;
    z-index: 1;
}