diff options
-rw-r--r-- | phpfspot_cfg.php | 2 | ||||
-rw-r--r-- | resources/arrow_left.png | bin | 0 -> 345 bytes | |||
-rw-r--r-- | resources/arrow_right.png | bin | 0 -> 349 bytes | |||
-rw-r--r-- | resources/information.png | bin | 0 -> 778 bytes | |||
-rw-r--r-- | templates/single_photo.tpl | 15 |
5 files changed, 12 insertions, 5 deletions
diff --git a/phpfspot_cfg.php b/phpfspot_cfg.php index e799761..71e0192 100644 --- a/phpfspot_cfg.php +++ b/phpfspot_cfg.php @@ -13,7 +13,7 @@ class PHPFSPOT_CFG { var $thumb_width = "150"; - var $photo_width = "800"; + var $photo_width = "640"; var $db = "/var/www/images.netshadow.at/htdocs/phpfspot/photos.db"; diff --git a/resources/arrow_left.png b/resources/arrow_left.png Binary files differnew file mode 100644 index 0000000..5dc6967 --- /dev/null +++ b/resources/arrow_left.png diff --git a/resources/arrow_right.png b/resources/arrow_right.png Binary files differnew file mode 100644 index 0000000..b1a1819 --- /dev/null +++ b/resources/arrow_right.png diff --git a/resources/information.png b/resources/information.png Binary files differnew file mode 100644 index 0000000..12cd1ae --- /dev/null +++ b/resources/information.png diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl index 3965edc..4501333 100644 --- a/templates/single_photo.tpl +++ b/templates/single_photo.tpl @@ -1,12 +1,15 @@ <!-- Single photo --> <table> <tr> - <td class="index_header"> + <td class="index_header" style="text-align: left;"> <b>Photo {$image_name}</b><br /> </td> + <td class="index_header" style="text-align: right;"> + <img src="resources/information.png" /> + </td> </tr> <tr> - <td> + <td colspan="2"> <div id='matrix'> <table> <tr> @@ -21,7 +24,9 @@ { if $previous_url == "" } { else } - <a href="{$previous_url}">Previous</a> + <a href="{$previous_url}"> + <img src="resources/arrow_left.png" /> + </a> { /if } </td> <td> </td> @@ -29,7 +34,9 @@ { if $next_url == "" } { else } - <a href="{$next_url}">Next</a> + <a href="{$next_url}"> + <img src="resources/arrow_right.png" /> + </a> { /if} </td> </tr> |