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"));
18 print $q->redirect("/image/view/$image_id", 301);