I had a chance to start playing with new themes, and I noticed that data-media-id attributes, which were previously present in all Shopify themes, are missing on the slides. This attribute is very helpful when we need to programmatically manipulate images (hide/show), and many apps rely on these parameters. With the current code, we will need to process file names, which won’t be good for performance, and more error-prone media IDs would be super helpful with all media elements on the page.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
ProductSet and files (aka media) clarification | 0 | 43 | October 31, 2024 | |
Possible Limitation with Theme Editor Data in Liquid (collection_list and Dynamic Inputs) | 0 | 29 | December 16, 2024 | |
Theme app extension assets vanishes every afternoon — glitch in the Matrix or just Shopify? | 8 | 36 | May 12, 2025 | |
Theme Editor Injected Attributes | 1 | 54 | November 19, 2024 | |
Hreflang Attributes Not Showing | 7 | 72 | January 6, 2025 |