blueprints.yaml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. name: Automagic Images
  2. version: 1.0.5
  3. description: Generate responsive versions of images as they are uploaded, and add sizes directives per CSS class.
  4. icon: picture-o
  5. author:
  6. name: Netzhexe
  7. email: ak@netzhexe.de
  8. homepage: https://github.com/skinofthesoul/grav-plugin-automagic-images
  9. keywords: images, responsive, srcset, sizes
  10. bugs: https://github.com/skinofthesoul/grav-plugin-automagic-images/issues
  11. docs: https://github.com/skinofthesoul/grav-plugin-automagic-images/blob/master/README.md
  12. license: MIT
  13. form:
  14. validation: strict
  15. fields:
  16. enabled:
  17. type: toggle
  18. label: PLUGIN_ADMIN.PLUGIN_STATUS
  19. highlight: 1
  20. default: 0
  21. options:
  22. 1: PLUGIN_ADMIN.ENABLED
  23. 0: PLUGIN_ADMIN.DISABLED
  24. validate:
  25. type: bool
  26. adapter:
  27. type: select
  28. label: PLUGIN_AUTOMAGIC_IMAGES.LABEL_ADAPTER
  29. help: PLUGIN_AUTOMAGIC_IMAGES.HELP_ADAPTER
  30. default: imagick
  31. options:
  32. imagick: Imagick
  33. gd: GD
  34. remove_original:
  35. type: toggle
  36. label: PLUGIN_AUTOMAGIC_IMAGES.LABEL_REMOVE_ORIGINAL
  37. help: PLUGIN_AUTOMAGIC_IMAGES.HELP_REMOVE_ORIGINAL
  38. highlight: 0
  39. default: 0
  40. options:
  41. 1: Enabled
  42. 0: Disabled
  43. validate:
  44. type: bool
  45. sizes:
  46. type: list
  47. label: PLUGIN_AUTOMAGIC_IMAGES.LABEL_SIZES
  48. btnLabel: PLUGIN_AUTOMAGIC_IMAGES.BTNLABEL_ADD_SIZE
  49. fields:
  50. .width:
  51. type: number
  52. label: PLUGIN_AUTOMAGIC_IMAGES.LABEL_WIDTH
  53. placeholder: 1280
  54. min: 1
  55. .quality:
  56. type: number
  57. label: PLUGIN_AUTOMAGIC_IMAGES.LABEL_QUALITY
  58. placeholder: 82
  59. min: 0
  60. max: 100
  61. default: 82
  62. sizesattr:
  63. type: list
  64. label: PLUGIN_AUTOMAGIC_IMAGES.LABEL_SIZESATTR
  65. btnLabel: PLUGIN_AUTOMAGIC_IMAGES.BTNLABEL_SIZESATTR
  66. fields:
  67. .class:
  68. type: text
  69. label: PLUGIN_AUTOMAGIC_IMAGES.LABEL_CLASS
  70. .directive:
  71. type: text
  72. label: PLUGIN_AUTOMAGIC_IMAGES.LABEL_DIRECTIVE