Skip to content

Lofter

https://www.lofter.com/

Customizing Storage Path & File Name

For more information, refer to Customizing Storage Path & File Name.

LOFTER_FILE_PATH

Optional, defaults to Lofter

Storage path for downloaded images.

LOFTER_FILE_NAME

Optional, defaults to {id}_{index} - {nickName}({blogName})

File name for downloaded images.

Available Variables

Only common used ones are listed.

{
  "id": "ID",
  "type": 2,
  "blogId": "Blog ID",
  "title": "",
  "publishTime": "Publish time",
  "blogInfo": {
    "blogName": "Blog username",
    "blogNickName": "Blog name"
  },
  "caption": "",
  "tagList": ["Tag"],
  "permalink": "Permanent link",
  "filename": "Original file name, without extension",
  "index": "Image index",
  "blogName": "Shortcut for `blogInfo.blogName`",
  "nickName": "Shortcut for `blogInfo.blogNickName`"
}

Last update: August 7, 2023
Created: June 8, 2023