Marcus Ramberg > MojoMojo-0.999029 > MojoMojo::Schema::Result::Photo

Download:
MojoMojo-0.999029.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: MojoMojo-0.999041

NAME ^

MojoMojo::Schema::Result::Photo

METHODS ^

extract_exif

Extracts EXIF information from a given Attachment and populates the Photo object.

exif2datetime datetime

Creates a DateTime object from a EXIF timestamp.

prev_by_tag <tag>

Return previous image when browsing by a given tag.

next_by_tag <tag>

Return next image object after this when browsing by the given tag.

others_tags <user>

Tags other users have given to this Photo.

user_tags <user>

Tags this user have given to this photo.

make_inline

create a resized version of a photo suitable for inline usage

make_thumb

create a thumbnail version of a photo, for gallery views and linking to pages