mirror of
https://github.com/celogeek/piwigo-cli.git
synced 2025-05-25 10:12:37 +02:00
add images details usage
This commit is contained in:
parent
1d9577448f
commit
90bf9a8b03
@ -1,3 +1,46 @@
|
|||||||
|
/*
|
||||||
|
Images Details Command
|
||||||
|
|
||||||
|
Get details of an image. It supports the birthday plugin.
|
||||||
|
|
||||||
|
$ piwigo-cli images details -i 38062
|
||||||
|
|
||||||
|
┌───────────────┬───────────────────────────────────────────────────────────────────────────┐
|
||||||
|
│ KEY │ VALUE │
|
||||||
|
├───────────────┼───────────────────────────────────────────────────────────────────────────┤
|
||||||
|
│ Id │ 38062 │
|
||||||
|
│ Md5 │ 6ad2abade6d5460181890e2bad671002 │
|
||||||
|
│ Name │ 2006 04 14 015 │
|
||||||
|
│ DateAvailable │ 2021-11-25 20:25:05 │
|
||||||
|
│ DateCreation │ 2006-04-14 04:14:00 │
|
||||||
|
│ LastModified │ 2022-01-01 23:11:48 │
|
||||||
|
│ Width │ 1984 │
|
||||||
|
│ Height │ 1488 │
|
||||||
|
│ Url │ https://yourphotos/picture.php?/38062 │
|
||||||
|
│ ImageUrl │ https://yourphotos/upload/2021/11/25/20211125202505-6ad2abad.jpg │
|
||||||
|
│ Filename │ 2006_04_14_015.jpeg │
|
||||||
|
│ Filesize │ 513 │
|
||||||
|
│ Categories │ 2007 │
|
||||||
|
│ Tags │ User Tag 1 (46 years old) │
|
||||||
|
│ │ User Tag 2 (8 months old) │
|
||||||
|
│ │ User Tag 3 (48 years old) │
|
||||||
|
└───────────────┴───────────────────────────────────────────────────────────────────────────┘
|
||||||
|
Derivatives:
|
||||||
|
┌─────────┬───────┬────────┬──────────────────────────────────────────────────────────────────────────────────────┐
|
||||||
|
│ NAME │ WIDTH │ HEIGHT │ URL │
|
||||||
|
├─────────┼───────┼────────┼──────────────────────────────────────────────────────────────────────────────────────┤
|
||||||
|
│ thumb │ 144 │ 108 │ https://yourphotos/i.php?/upload/2021/11/25/20211125202505-6ad2abad-th.jpg │
|
||||||
|
│ xsmall │ 432 │ 324 │ https://yourphotos/i.php?/upload/2021/11/25/20211125202505-6ad2abad-xs.jpg │
|
||||||
|
│ xxlarge │ 1656 │ 1242 │ https://yourphotos/_data/i/upload/2021/11/25/20211125202505-6ad2abad-xx.jpg │
|
||||||
|
│ square │ 120 │ 120 │ https://yourphotos/_data/i/upload/2021/11/25/20211125202505-6ad2abad-sq.jpg │
|
||||||
|
│ small │ 576 │ 432 │ https://yourphotos/_data/i/upload/2021/11/25/20211125202505-6ad2abad-sm.jpg │
|
||||||
|
│ medium │ 792 │ 594 │ https://yourphotos/_data/i/upload/2021/11/25/20211125202505-6ad2abad-me.jpg │
|
||||||
|
│ large │ 1008 │ 756 │ https://yourphotos/i.php?/upload/2021/11/25/20211125202505-6ad2abad-la.jpg │
|
||||||
|
│ xlarge │ 1224 │ 918 │ https://yourphotos/_data/i/upload/2021/11/25/20211125202505-6ad2abad-xl.jpg │
|
||||||
|
│ 2small │ 240 │ 180 │ https://yourphotos/i.php?/upload/2021/11/25/20211125202505-6ad2abad-2s.jpg │
|
||||||
|
└─────────┴───────┴────────┴──────────────────────────────────────────────────────────────────────────────────────┘
|
||||||
|
|
||||||
|
*/
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user