1 use CatalystX
::GlobalContext
qw( $c );
6 use CXGN::DB::Connection;
10 my $dbh = CXGN::DB::Connection->new();
11 my $login = CXGN::Login->new($dbh);
13 my $person_id = $login->has_session();
15 my ($image_id, $size) = ($q->param("image_id"), $q->param("size"));
17 $c->forward_to_mason_view('/image/index.mas', object_id=>$image_id, size=>$size, person_id=>$person_id, dbh=>$dbh);