Log in
Model

GetRenditionPath

Magento\MediaGalleryRenditions\Model\GetRenditionPath

What it does

This class generates the file path for image renditions (optimized/resized versions) in Magento's media gallery.

Developers use this when they need to determine where a rendition should be stored or retrieved, as it automatically prepends the '.renditions' directory to any given image path.

Public Methods

  • execute()