GD was set to 75 - that shouldn't be too bad. Anything else to check?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
I would definitely crank it up to 100. That's what I've always used.
The NextAlbum function is not returning the next album. It is actually returning the last album. Has anyone else seen this problem?
I am running the latest version ( I believe)
Thank you for your help.
In the CMS, on the Albums tab, try re-sorting the albums and then placing them back to their original positions.
Uncle Cheese,
I have noticed that in the recent updates of the image_gallery, there is no drag-drop sorting of images any more. The checkbox to allow sorting is missing. Is this intentional? Sorting Albums still works.
Hi UncleCheese, just getting into the module again and wondered if you would be able to provide any wisdom on the following application of it.
I would like to extend the blog module so that each post has a ImageGallery attached to it in addition to that I would like that any registered user (~50 of them) would be able to upload pictures from the front end, ie. without having to use the CMS. I don't imagine an issue with the extension of the blog but wondered if you could comment on the best way to approach the front end upload into the gallery?
Thanks for all your awesome work!
@micasheets - Not sure about this one. Check your image_gallery/_config.php and make sure this line:
SortableDataObject::add_sortable_classes(array(
'ImageGalleryItem',
'ImageGalleryAlbum
));
is in tact.
@howardgrigg - It will take some coding, but it can easily be done. I would look at how the SWFUploadField works in FileDataObjectManager and ImageGalleryManager. The uploader will call the function handleswfupload() on the current controller, and as you'll see, you can just use that function to create a new ImageGalleryItem, assign the proper relation IDs to it, and write it. If you get it coded and it's acting weird, you can post your code up here and maybe I can help you out. Alternatively, I could code it up for you, but not for free. :)
Uncle Cheese,
I see that since I am using my own class of ImageGalleryItem I needed to put the SortableDataObject array in my _config.php. Now it works.
I am wondering why that SortableDataObject but goes in the _config.php file instead of in the Class definition?