% if ($prev) { previous % } % if ( $prev && $next ) { · % } % if ($next) { next % }
% if ( $image->has_caption ) {
<% $image->caption_as_html %>
% }

% if ( $App->is_admin ) {

Edit caption for this image.

% }
\ transformed_image_file( transforms => $transforms ) ) %> class="Rudesind-image" border="0" />
<%args> $image $transforms => 'default' <%init> my $gallery = $image->gallery; my $prev = $gallery->previous_image($image); my $next = $gallery->next_image($image); $m->autoflush(1) unless $image->has_transformed_image_file( transforms => $transforms );