Hello everybody. I am not a developer and I need some advice on how to import images into an image gallery. I have Import definitions and can easily import images into a single image field, but I cannot import into an image gallery. Any ideas?
@vanchelosa The image gallery data field requires you to pass an array with one or many instances of
\Pimcore\Model\DataObject\Data\Hotspotimage. In order to be able to create such a structure, you have to create an interpreter for your ImportDefinition as described here: https://github.com/w-vision/DataDefinitions/blob/master/docs/interpreter.md#creating-your-own-interpreters
Hope this helps!
aarongerig, thanks, that would help, but as I said, I’m not a developer. I thought it was already implemented in datadefinitions and I just didn’t figure out how to do it. Well, I’ll deal with this.