OBJECT Magento 2.4.9
MediaGalleryEntry
Defines characteristics about images and videos associated with a specific product.
Declared or extended by: Catalog
Fields
id Int Deprecated
The identifier assigned to the object.
uid ID! Required
The unique ID for a `MediaGalleryEntry` object.
media_type String
Either `image` or `video`.
label String
The alt text displayed on the storefront when the user points to the image.
position Int
The media item's position after it has been sorted.
disabled Boolean
Indicates whether the image is hidden from view.
types [String]
Array of image types. It can have the following values: image, small_image, thumbnail.
file String
The path of the image on the server.
Details about the content of the media gallery item.
video_content ProductMediaGalleryEntriesVideoContent
Details about the content of a video item.
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.