EchoFool Posted January 5, 2009 Share Posted January 5, 2009 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) Quote Link to comment https://forums.phpfreaks.com/topic/139470-image-manipulation/ Share on other sites More sharing options...
premiso Posted January 5, 2009 Share Posted January 5, 2009 If you have GD library you can actually make it one image. If you would rather it be CSS, this is not a PHP question, it is an HTML/CSS question. I suggest taking it to that forum. image if you are interested in creating the image as one. Quote Link to comment https://forums.phpfreaks.com/topic/139470-image-manipulation/#findComment-729594 Share on other sites More sharing options...
EchoFool Posted January 5, 2009 Author Share Posted January 5, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/139470-image-manipulation/#findComment-729954 Share on other sites More sharing options...
bluesoul Posted January 5, 2009 Share Posted January 5, 2009 I from the sound of what you're wanting to do it is all perfectly doable with CSS and HTML alone. Quote Link to comment https://forums.phpfreaks.com/topic/139470-image-manipulation/#findComment-729960 Share on other sites More sharing options...
premiso Posted January 5, 2009 Share Posted January 5, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/139470-image-manipulation/#findComment-729987 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.