153 |
my $preview_uri = escape preview_uri $file_name; |
my $preview_uri = escape preview_uri $file_name; |
154 |
my $uri = $efile; |
my $uri = $efile; |
155 |
$uri =~ s/\..+//g; |
$uri =~ s/\..+//g; |
156 |
|
my $id = uc $uri; |
157 |
my @cls = split /\./, lc $file_name; |
my @cls = split /\./, lc $file_name; |
158 |
shift @cls; |
shift @cls; |
159 |
print q{<div class="image-with-desc">}; |
print qq{<div class="image-with-desc" id="FILE--$id">}; |
160 |
print qq{<a href="$uri"$viewtarget>}; |
print qq{<a href="$uri"$viewtarget>}; |
161 |
print qq{<img src="$preview_uri" alt="" class="@{[join ' ', @cls, 's']}" /></a>}; |
print qq{<img src="$preview_uri" alt="" class="@{[join ' ', @cls, 's']}" /></a>}; |
162 |
print qq{<dl><dt>URI</dt><dd>}; |
print qq{<dl><dt>URI</dt><dd>}; |