I mean composite in a figurative way, but they have to be overlapping individual images in order to be individually clickable. Does GD allow that? Can I create multiple images on the top of each other in GD? And how would imagemap work in this respect? > On Sat, 2008-11-22 at 12:51 -0100, dzenan.causevic@xxxxxxxxxx wrote: >> Okay I would probabily define few functions such as room(), bed(), >> bed_status() etc. that I could use for any room and then it would be >> just >> a matter of passing right arguments to those funtions. >> >> However would those beds within the room composite graphic be >> individually >> clickable? So the composite graphic must be interactive in nature. User >> must be able to click on individual beds inside the room in order to >> change its status. Would GD approach allow this kind of interaction? >> >> > On Sat, 2008-11-22 at 12:14 -0100, dzenan.causevic@xxxxxxxxxx wrote: >> >> It's not kind of a school/college project that I am too lazy to do. >> It's >> >> just a matter of having 800 rooms and about 2,500 beds so I believe >> it's >> >> gonna take forever defining all of those graphics via GD functions. >> >> That's >> >> why I think I need to go with some rapid approach. I never used GD's >> so >> >> I >> >> dont even know how complex it is generating graphics this way. And >> also >> >> those graphics dont need to be sophisticated. Just simple graphic >> >> representations of rooms and beds in few different colors indicating >> >> wheter bed is free, occupied, or reserved. >> >> >> >> GD just seems too powerful and too time consuming for this task. I >> >> probabily need some rapid approach with limited graphic capabilities. >> >> Does >> >> such exist that's my question at this point of time >> >> >> >> > On Fri, 2008-11-21 at 16:55 -0100, dzenan.causevic@xxxxxxxxxx >> wrote: >> >> >> I have a PHP application that accesses data from MySQL. There is >> >> table >> >> >> called "rooms", and table called "beds". There is another table >> >> called >> >> >> "patients". Patients are being placed into beds, and beds are in >> the >> >> >> rooms. PHP application currently displays all information in >> textual >> >> >> mode >> >> >> via regular HTML tags. But I would like to have that information >> >> >> displayed >> >> >> in graphical mode instead of textual mode. >> >> >> >> >> >> Is there a way to display this information from the database >> >> >> graphically. >> >> >> Graphic would represent a room, and it would contain beds inside. >> You >> >> >> would be able to see visually which beds are occupied and which >> are >> >> free >> >> >> by looking at the graphics. >> >> >> >> >> >> User of the system wants pictures instead of text displayed via >> HTML >> >> >> tables as a list of entries. >> >> >> >> >> >> Anyone knows anything like this? >> >> >> Thanks, >> >> >> Dzenan >> >> >> >> >> >> >> >> >> >> >> > This sounds a lot like a school/college/uni project that you're too >> >> lazy >> >> > to research... Correct me if I'm wrong. >> >> > >> >> > The other guys who have answered are all spot on when they say you >> >> need >> >> > to look at the GD library. >> >> > >> >> > >> >> > Ash >> >> > www.ashleysheridan.co.uk >> >> > >> >> > >> >> > -- >> >> > PHP General Mailing List (http://www.php.net/) >> >> > To unsubscribe, visit: http://www.php.net/unsub.php >> >> > >> >> >> >> >> > >> > GD is fine for what you need to do, and it shouldn't be difficult to >> > create what you need to do. There isn't any pre-built rooms() function >> > in it, but just build that yourself and use basic math to create the >> > graphics you need. >> > >> > >> > Ash >> > www.ashleysheridan.co.uk >> > >> >> > The only way you could achieve clickable parts of a composite image like > that is either to not have it as a composite and use many images, or use > an imagemap. > > > Ash > www.ashleysheridan.co.uk > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php