It's an unbelievably complex issue that I've been working on over the last couple weeks. I'm not sure there's going to be any clean resolution to it. ImageGallery wants the files to be classed as "ImageGalleryImage", but you're importing images without that class. You can't change the classname, because that would break other references to that file.
I'm trying to find a way to duplicate the file, but that's not working too well. ImageGallery wants to keep the file in its own file structure..
I'm probably just going to remove the import feature. :(
Just wondering what you're thinking about this issue the last few days. Do you think you'll pull it out of the functionality or attempt to do the duplication? No rush, of course, I just wanted to let my client know.
I have been having several issues with Image Gallery in the past weeks. File Permissions seem to have been involved. At least now it looks like it almost works.
I'm using SilverStripe 2.4.4 and ImageGallery r525 (the version currently available at the silverstripe Modules page).
First issue: I have a ImageGalleryPage called "Bilder". Every time I upload pictures into one of the albums on that page several (not one, several) assets/Bilder folders are created. They appear in the Backend Assets and in the File Table in the DB. One folder is created in the filesystem. When hitting "Search for new files" in the Backend all folders except one dissapear both from the backend and the File Table. I don't understand why this happens because I don't use the "Bilder" folder. All images are stored in assets/image-gallery/<album_name>.
Second issue: After uploading images to an album I then try to choose a cover image for the album using those images I uploaded. This causes the image to disappear from the album. Both in the backend and in the frontend it is not visible anymore. The entries in the ImageGalleryItem Table and in the filesystem are not deleted. The image does appear as the album cover. Therefore now I'm forced to upload the image I want to use as a cover twice (it gets a 2 appended to the name).