Log in
Interface

GetRenditionPathInterface

Magento\MediaGalleryRenditionsApi\Api\GetRenditionPathInterface

What it does

This interface defines a contract for retrieving the file path of an optimized rendition (thumbnail or resized version) of a media asset.

Developers would use implementations of this interface when they need to get the path to a smaller, performance-optimized version of an image for displaying in content, rather than using the full-size original image.

Public Methods

  • execute()