I created images in php to display in my home page
ImageCreate(200, 800); // very simple and working. No sizing it is an issue for me.
Is there a way to just set the size of this image so that the width of the image always expands to a percentage of the page. eg. If I put 4 images on my page each image will just take up 25% of the page width. I tried to ImageCreate(25%,100%) but it does not work.
If it’s just 4 color blocks with a width of 25%, you could just use 4 divs and set the background color to the one you want and the width to 25%.