Hi,
I've built a data importer app to import collection items with images.
My issue is that in the collection template, the image field has multiple cropped versions:
And now the cropped images have magically dissapeared while the original image and the thumb@2x version still exists.
The importer follows the following steps:
1. user uploads zip file with images, and system extracts zip and imports each file saving the data result to associate with the collection items.
2. user uploads csv file with collection item data and importer matches collection item with previously uploaded image via filename.
3. importer uses the new assetID with the CollectionbImporter and Template to insert or update the data.
In perch i see the collection items and images fine. Then all of a sudden it looks like perch doesn't recognize that the cropped images are assocated with any content so it cleans them.
At least locally i have phpStorms LocalHistory function to restore but i cant publish to the server until this is figured out.
Has anyone had an issue like this where the cropped images imported dissapear ?
Thanks.