Skip to content

Introduce a MediaGalleryRenditions module with width/hight system configuration fields #1459

@sivaschenko

Description

@sivaschenko

Details

  • MediaGalleryRenditions module should be introduced
  • config.xml should be added to MediaGalleryRenditions module declaring default values for
    • media_gallery/rendition/width 1000
    • media_gallery/rendition/height1000
  • adminhtml/system.xml should be added to MediaGalleryRenditions module adding the Media Gallery Renditions section to the System tab of Stores Configuration with Width and Hight fields
  • MediaGalleryRenditionsApi module should be introduced
  • Magento\MediaGalleryRenditionsApi\Model\ConfigInterface should be introduced with two methods getWidth(): int and getHight(): int
  • Magento\MediaGalleryRenditions\Model\Config class should be introduced implementing Magento\MediaGalleryRenditionsApi\Model\ConfigInterface and providing access to configuration values

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions