Hey
First of all thanx for the reply. I secceded in showing the photo in the day view if i put just "test.jpg" but if i put
"test_'.$row['id'].'.jpg"
it does not work and i get only an empty box on the day view and when i check the properties it shows me test_.jpg
it seems that this part .$row['id']. does not get anything. so any ideas why it does not work ?
Regards
> From: anselm <at> hoffmeister.be
> To: mrbs-general <at> lists.sourceforge.net
> Date: Sun, 17 Jan 2010 17:33:51 +0100
> Subject: Re: [MRBS-general] adding photos
>
> Am Sonntag, den 17.01.2010, 00:01 +0100 schrieb hamada alton:
> >
> >
> > hey
> > I searched the mailing list archive about how to put a photo of the
> > room or what is gonna be booked somewhere in the booking system but
> > all the post seems to be old. I wounder if it is possible to be
> > done????
> > regards
>
> Dear hamada alton,
>
> this is possible of course, although it requires a small tweak in the
> MRBS code (not out-of-the-box).
> The easiest case I can image would be having one picture per room which
> has a name like room_X.jpeg (where X is the "id" MRBS uses internally to
> identify that room). If you want that image displayed in the column
> headers (in day view, where the room name already appears) you can find
> the place in day.php where the day name is printed, and add something
> like
>
> echo '<img src="room_'.$row[2].'.jpeg" width="100" height="80" alt="Room
> picture" />';
>
> Of course this needs adapting to your layout etc., as fixed size images
> are not always good for a layout. There are much more elegant ways
> (hover image display, background images etc.) - those will need a little
> more complicated ideas which I cannot help you with out of my head.
>
> BR
> Anselm
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> mrbs-general mailing list
> mrbs-general <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mrbs-general
> Want to unsubscribe: mailto:mrbs-general-request <at> lists.sourceforge.net?subject=unsubscribe
Windows Live:
Friends get your Flickr, Yelp, and Digg updates when they e-mail you.