Jump to content

Image manipulation


EchoFool

Recommended Posts

Not sure if php is the best to do this but im trying to do image manipulation on my site so that i can position a image on a background image with pretty good precision. But i don't know want to use absolute position because that screws things up for monitor resolutions etc.

 

 

So image a background image then i want to put another image on that background image so it looks like one actual image, sos a little confusing i know.

 

But can php do this or will it be some other language ? (hopefully server side of course)

Link to comment
https://forums.phpfreaks.com/topic/139470-image-manipulation/
Share on other sites

Yeah but the php is suppose to load a image onto the other image in a co-ordinate style so its layered... i wouldn't of thought CSS and HTML is that dynamic enough to communicate with the server to know what co-ordinate is required

 

PHP has no clue/does not care what the page displays as or looks like. You can however pull an image name out of the database and generate the CSS/HTML for it to display how you want it to. But you do not necessarily need PHP to do this. You can create a static html page with 2 known image names and create that effect. Which is the route I would tell you to go for now. Create the actual HTML/CSS first, then take that and plug it into your PHP.

Link to comment
https://forums.phpfreaks.com/topic/139470-image-manipulation/#findComment-729987
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.