---
name: "MojoMojo::Controller::Gallery"
section: "3pm"
platform: "linux"
package: "libmojomojo-perl"
version: "1.12+dfsg-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/MojoMojo::Controller::Gallery"
---

# MojoMojo::Controller::Gallery(3pm)

Page gallery.

## NAME

MojoMojo::Controller::Gallery - Page gallery.

## SYNOPSIS

See MojoMojo

## DESCRIPTION

Controller for page photo galleries.

## METHODS

### default

Private action to return a 404 not found page.

### gallery ( .gallery )

Show a gallery page for the current node.

### by\_tag ( .gallery/by\_tag )

Show a gallery by a given tag. Will also show photos in the descendants of the page with the given tag.

### photo ( .photo/\<id\> )

Show a gallery photo page.

### ( /photo\_by\_tag/\<id\> )

Show a picture in tag gallery.

### submittag ( /gallery/submittag )

Add a tag through form submit.

### tag ( /.jsrpc/tag )

Add a tag to a page. Forwards to inline\_tags.

### untag ( .gallery/untag )

Remove a tag from a page. Forwards to inline\_tags.

### inline\_tags ( .gallery/tags )

Make a list of the user's tags and popular tags, or just popular tags if no user is logged in.

### description ( .gallery/description )

AJAX method for updating picture descriptions inline.

### title ( .gallery/title )

AJAX method for updating picture titles inline.

## AUTHOR

Marcus Ramberg \<mramberg@cpan.org\>

## LICENSE

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
