Image attachments
If you have ScrapBook access (and enough disk quota), any image you attach to your email message will be automatically uploaded to your ScrapBook account and displayed in your journal entry. All images above 320x240 in size are displayed under an lj-cut . Using lj-headers , you can change the way the images look in your journal, as well as set various image attributes.
Choosing a gallery
You can specify what photo gallery you want your attachments uploaded into using the lj-gallery header. If unspecified, the default gallery is 'LJ_emailpost'. If you decide to move your images into different galleries in the future, the images posted in your journal will still work correctly.
To: exampleusername+PIN@post.livejournal.com
From: allowed_sender@example.com
Subject: Neat, I can post pictures via email.
lj-gallery: vacation photos
This is the body of my post, with image attachments.
Image security
Images are publicly viewable by default. Use the lj-imgsecurity header to change this behavior. Please note that image security is separate from your journal entry security! For example, you can have a journal entry that is private, while the pictures within it are public. This feature only changes the security on the images themselves - not the journal entry.
Valid options are "private", "regusers", and "friends".
To: exampleusername+PIN@post.livejournal.com
From: allowed_sender@example.com
Subject: Neat, I can post pictures via email.
lj-imgsecurity: private
This is the body of my post, with image attachments.
Changing the image display size
You may attach images of any size. They will be displayed in your journal at a maximum size of 640x480. The default size is 320x240. You may specify a size using the lj-imgsize header. Images larger than 320x240 will be automatically placed behind an lj-cut .
Valid sizes are "100x100", "320x240", and "640x480".
To: exampleusername+PIN@post.livejournal.com
From: allowed_sender@example.com
Subject: Neat, I can post pictures via email.
lj-imgsize: 640x480
This is the body of my post, with image attachments.
Changing image layout
If you attach multiple images, you can change the way they appear in your journal via the lj-imglayout header.
By default, multiple images will be placed in a vertical layout:
Currently, the only other option is "horizontal".
To: exampleusername+PIN@post.livejournal.com
From: allowed_sender@example.com
Subject: Neat, I can post pictures via email.
lj-imglayout: horizontal
This is the body of my post, with image attachments.
lj-cut behavior
By default, images 320x240 or smaller are placed in your journal without an lj-cut . You can change this behavior using the lj-imgcut header. Valid options are "count" and "titles". Using "count", if you attached 3 images in your email message, the lj-cut would read, "( 3 images )". Setting the lj-imgcut header to "titles" changes the cut caption to the title of the filename, one cut per image. "( emo.jpg ) ( pict002.jpg ) ( me_and_bob.jpg )"
To: exampleusername+PIN@post.livejournal.com
From: allowed_sender@example.com
Subject: Neat, I can post pictures via email.
lj-imgcut: titles
This is the body of my post, with image attachments.
[ <<
LJ headers and security ] [
Advanced usage >> ]