I want you to code a PHP Script that will create images with PHPGD or anything else.
There will be 5 arguments while creating image.
1. "Background" (e.g. [login to view URL])
2. "Text" (e.g. font-family:Tonto, font-size:15px, position: x:100px y:200px)
3. "Photos" (e.g. [[login to view URL], width:200px, height:150px, position: x:150px y:300px, zIndex:1] ; [[login to view URL], width:100px, height:50px, position: x:50px y:100px, zIndex:2] ; )
4. "Stickers" (e.g. [[login to view URL], width:50px, height:50px, position: x:15px y:20px, zIndex:3] ; [[login to view URL], width:30px, height:40px, position: x:350px y:250px,, zIndex:5] ; )
5. "Image Dimensions" (e.g. width: 500px height:400px)
Firstly, you'll create an blank image with the "Image Dimensions" variable (For example, you'll create a 500x400 blank image). Second, you'll set it's background with "Background" variable.
Then you'll put each photo to this image. Then you'll also put stickers too. Every photo and sticker will have a zIndex value so you should organize them considering their zIndex values.
This script will take arguments from an array, like:
photo[0]:('src'=>'[login to view URL]','width'=>'100px','height'=>'200px','positionX'=>'100px','positionY'='50px','zIndex'=>'3');
photo[1]:('src'=>'[login to view URL]','width'=>'300px','height'=>'100px','positionX'=>'10px','positionY'='40px','zIndex'=>'2');
Your code will organize these things and should create an image considering these arguments.
Important: There will be PNG and JPG images together before you create the output image. Also the output image's type should be JPG.
Hi
we checked your requirement,We could develop as per your need.
u could check that out. we would work till your satisfaction.
Thanks & Regards
Techwelfare
Please check inbox for our previous work.