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

# MojoMojo::Schema::Result::Attachment(3pm)

store attachments

## NAME

MojoMojo::Schema::Result::Attachment - store attachments

## METHODS

### delete

Delete the inline and thumbnail versions but keep the original version (`"$self-"`filename\>).

### filename

Full path to this attachment.

### inline\_filename

Name of attachment file when displayed inline.

### thumb\_filename

Nmae of thumbnail of attachment.

### make\_photo

Insert photo id and title into photo table.

### is\_image

Predicate to indicate is the contenttype is image or not.

### is\_text

Predicate to indicate is the contenttype is text or not.

### human\_size

Get a human readable size.

### human\_type

Describe the mime type (in English?).

## 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.
