#4 Room picture for each room

open
nobody
None
5
2012-02-22
2012-02-22
Anonymous
No

At Georgia State University Library, we added picture for each room and these pictures will show up in the left-hand-side roomdetail layer trigger by a mouseover action.

It is an easy update:

1. Database: on table rooms, adding an extra field roompicture to hold the name of the picture
2. File System: Adding pictures to folder images/rooms
3. Scripts:
3.1: /or-getroominfo.php: around line 99, adding roompicture to on-the-fly xml output
3.2: /modules/dayviewAJAX.php: around line 227, adding logic to put roompicture to roomdetail div layer.
================================================================
The only drawback problem for room picture is that there is NO admin interface and update has to be done manually on database level.

We hope to have this feature added to your next release.

Jackey Hong
Georgia State University Library

Discussion

  • roompicture logic for dayviewAJAX.php

     
    Attachments