Help for this page
my ($username, $imagename) = $ENV{REQUEST_URI} =~ /\/(.*)\/(.*)/;
my ($user, $img) = $ENV{REQUEST_URI} =~ m#^/([^/]+)/([^/]+)$#;