Would it be possible to extend Pimcore, probably via the Plugin Backend UI, to show image previews in Many-To-Many object field?
- Attach a “mouseover” event listener to the Many-To-Many table rows.
- Check for “asset” type.
- Get ID.
- Make an asynchronous call for a thumbnail.
- Show the thumbnail.
I could use the “preview” function Pimcore offers on assets for steps 4. and 5., correct?
Or should I just change the field to a gallery? There are two problems with this, a) there are tens of thousands of objects and assets that I would have to copy to a temporary field and then back (the field name has to be preserved), b) I don’t think there are just assets in the Many-To-Many relation.
How would you proceed? Any insight is welcome, thanks!