Twist3d Posted January 3, 2011 Share Posted January 3, 2011 Hello. Well I haven't any code for this, but its only a question. Do you think it would be possible for PHP, to make and image or draw one from just a blank JPG. Then placing text on the image. That is possible and quite simple. But do you think it is possible to say. Say if you have 3 different set of texts on the image. Click here for 1 Click here for 2 Click here for 3 And also for the script to link those text to different web addresses. But all still workable with a dynamic signature EG [ img ] [ / img ] Basically its a dynamic signature with links on it is what i am trying to say. Do you think its possible? Or am I thinking to big. Link to comment https://forums.phpfreaks.com/topic/223267-link-section-of-an-image/ Share on other sites More sharing options...
MMDE Posted January 3, 2011 Share Posted January 3, 2011 if this is possible, then it surely would need some help from css... you can place text on top of images with css. I'm not sure, but I bet they can be links too! easiest is of course just to make 3 images... Link to comment https://forums.phpfreaks.com/topic/223267-link-section-of-an-image/#findComment-1154208 Share on other sites More sharing options...
litebearer Posted January 3, 2011 Share Posted January 3, 2011 sledge hammer approach... 4 divs - image/link1/link2/link3/link4 ovelay/stack them http://www.echoecho.com/csslayers.htm Link to comment https://forums.phpfreaks.com/topic/223267-link-section-of-an-image/#findComment-1154210 Share on other sites More sharing options...
Twist3d Posted January 3, 2011 Author Share Posted January 3, 2011 if this is possible, then it surely would need some help from css... you can place text on top of images with css. I'm not sure, but I bet they can be links too! easiest is of course just to make 3 images... They won't actually be placed ONTO the image tho would that, just placed ontop @litebearer. That is text onto text, will imagettftext or some other GD function work with CSS? Link to comment https://forums.phpfreaks.com/topic/223267-link-section-of-an-image/#findComment-1154212 Share on other sites More sharing options...
MMDE Posted January 3, 2011 Share Posted January 3, 2011 http://www.w3schools.com/tags/tag_map.asp you can try to use that Link to comment https://forums.phpfreaks.com/topic/223267-link-section-of-an-image/#findComment-1154213 Share on other sites More sharing options...
litebearer Posted January 3, 2011 Share Posted January 3, 2011 as far as I can tell GD does not itsself make imagemaps. IF you know the coordinates of the different text areas of you GD created image you could use html to effectively make the imagemap see the link MMDE posted Link to comment https://forums.phpfreaks.com/topic/223267-link-section-of-an-image/#findComment-1154216 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.