initial commit
This commit is contained in:
BIN
graphics/misc/109_0931.JPG
Executable file
BIN
graphics/misc/109_0931.JPG
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 154 KiB |
BIN
graphics/misc/109_0943.JPG
Executable file
BIN
graphics/misc/109_0943.JPG
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 137 KiB |
BIN
graphics/misc/109_0945.JPG
Executable file
BIN
graphics/misc/109_0945.JPG
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 196 KiB |
38
graphics/misc/htmlizer.pl
Executable file
38
graphics/misc/htmlizer.pl
Executable file
@@ -0,0 +1,38 @@
|
||||
#! /usr/bin/perl -w
|
||||
|
||||
|
||||
$dir = "./";
|
||||
$folder_link = "misc";
|
||||
$image_counter = 0;
|
||||
|
||||
open( OUTPUT, ">./image_html.txt" );
|
||||
opendir( IMAGE_DIR, $dir );
|
||||
|
||||
@images = grep { not m/small_/ } readdir IMAGE_DIR;
|
||||
@images = grep { m/.JPG$/ } @images;
|
||||
|
||||
print OUTPUT "<table border=\"1\" cellpadding=\"15\" cellspacing=\"0\" bordercolor=\"\#000000\">\n\t<tr>\n";
|
||||
|
||||
foreach $image ( @images )
|
||||
{
|
||||
if( $image_counter == 3 )
|
||||
{
|
||||
print OUTPUT "</tr>\n\t<tr>\n";
|
||||
$image_counter = 0;
|
||||
}
|
||||
|
||||
$small_image = $image;
|
||||
$small_image = "small_" . $image;
|
||||
$small_image =~ s/\.JPG/\.jpg/;
|
||||
|
||||
print OUTPUT "\t\t<td align=\"left\" valign=\"top\"><a href=\"graphics/$folder_link/$image\" target=\"_blank\"><img src=\"graphics/$folder_link/$small_image\" border=\"2\"></a></td>\n";
|
||||
|
||||
$image_counter++;
|
||||
}
|
||||
|
||||
print OUTPUT "\t</tr>\n</table>\n";
|
||||
|
||||
closedir( IMAGE_DIR );
|
||||
close( OUTPUT );
|
||||
|
||||
exit;
|
||||
7
graphics/misc/image_html.txt
Executable file
7
graphics/misc/image_html.txt
Executable file
@@ -0,0 +1,7 @@
|
||||
<table border="1" cellpadding="15" cellspacing="0" bordercolor="#000000">
|
||||
<tr>
|
||||
<td align="left" valign="top"><a href="graphics/misc/109_0931.JPG" target="_blank"><img src="graphics/misc/small_109_0931.jpg" border="2"></a></td>
|
||||
<td align="left" valign="top"><a href="graphics/misc/109_0943.JPG" target="_blank"><img src="graphics/misc/small_109_0943.jpg" border="2"></a></td>
|
||||
<td align="left" valign="top"><a href="graphics/misc/109_0945.JPG" target="_blank"><img src="graphics/misc/small_109_0945.jpg" border="2"></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
BIN
graphics/misc/small_109_0931.jpg
Executable file
BIN
graphics/misc/small_109_0931.jpg
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 8.8 KiB |
BIN
graphics/misc/small_109_0943.jpg
Executable file
BIN
graphics/misc/small_109_0943.jpg
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 8.0 KiB |
BIN
graphics/misc/small_109_0945.jpg
Executable file
BIN
graphics/misc/small_109_0945.jpg
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 9.3 KiB |
Reference in New Issue
Block a user