provide a class for images, use a thin black border
authorgc <gc>
Mon, 18 Jul 2005 21:07:12 +0000 (21:07 +0000)
committergc <gc>
Mon, 18 Jul 2005 21:07:12 +0000 (21:07 +0000)
bin/booh-backend
data/booh/themes/simple/skeleton_image.html
data/booh/themes/simple/skeleton_index.html
data/booh/themes/simple/skeleton_thumbnails.html
lib/booh/html-merges.rb

index 64ac2ae19cff133e1349b7a837c2bbbad29f1b9b..30c2a5c7658f653a206f058fd0c75ee56b39be5d 100755 (executable)
@@ -386,7 +386,7 @@ def img_element(fullpath)
     else
         sizespec = ''
     end
-    return '<img src="' + File.basename(fullpath) + '" ' + sizespec + ' border="0"/>'
+    return '<img src="' + File.basename(fullpath) + '" ' + sizespec + ' class="image"/>'
 end
 
 def size2js(name)
index fc2589e6ef5493c4ebe68623c849a27c2d157d19..931adca23ec036319201da4c87c0673de6daf1d7 100644 (file)
@@ -32,6 +32,11 @@ a:hover {
 input {
         border: solid 1px;
 }
+
+.image {
+        border: solid 1px;
+        color: #000000;
+}
     -->
     </style>
 </head>
index a6f937874f67f1e96e43d0c5437fd185b07b535a..3df83028e19c9f9c89691e1dc82a4ab6b8370ce6 100644 (file)
@@ -30,6 +30,11 @@ a:hover {
 input {
         border: solid 1px;
 }
+
+.image {
+        border: solid 1px;
+        color: #000000;
+}
     -->
     </style>
 </head>
index 5ab84e15420b774cf279de5ef0aed6090c18a414..b29679f8f2d1315411a384b9cf031e635e9e29e2 100644 (file)
@@ -32,6 +32,11 @@ a:hover {
 input {
         border: solid 1px;
 }
+
+.image {
+        border: solid 1px;
+        color: #000000;
+}
     -->
     </style>
 </head>
index ac9b33f25306676fe802d4846b16ba5507a70390..95ee5a64d481e982314644c78cc1dff9b6154f96 100644 (file)
@@ -433,7 +433,7 @@ $pause_slideshow = '
 
 
 $image = <<'EOF'
-  <img name="main_img">
+  <img name="main_img" class="image">
 EOF
 
 $image_counter_additions = <<'EOF'