<: # Path setting - this is the path to the images my $level = num('parent_albums'); $PATH = Theme_URL(); $CSS = ""; my $album = Album_Filename(); my $path = $album; $path =~ s|[^/]+$||; $path = "." unless $path; :> <: Meta() :> <:= Trans('Image:') :> <:=Name(This_Image) :> <:= $CSS :>
<: print "
" . Image(This_Image, 'medium') . "


"; :>
<: if (my $Prev = Prev(This_Image, $opt->{image_loop})) { _:> <: } _:> <: if (my $Next = Next(This_Image, $opt->{image_loop})) { _:> <: } _:>
<: my $picName = Get($Prev, 'name'); $prevLine = Get($Prev, 'href', 'image_page') . "
" . Trans('Prev') . "
"; $prevLine =~ s|html'|html#$picName'|; print $prevLine; :>
<: my $picName = Get($Next, 'name'); $nextLine = Get($Next, 'href', 'image_page') . "
" . Trans('Next'). "
"; $nextLine =~ s|html'|html#$picName'|; print $nextLine; :>
<: print "
" . Name(This_Image) . "

"; :>