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.
Same problem here. It would be nice of someone who already made this interpreter to share this with us.
There are more people struggling to get this working.
If somebody did: create a PR and I’ll merge it