Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

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.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Image Gallery Extension: Testers Needed


Go to End


417 Posts   117829 Views

Avatar
throb

Community Member, 23 Posts

2 April 2009 at 3:07am

you asked for requests so...

i would love to be able to have albums that have quicktimes and/or audio files in them
using something like shadowbox would allow for the quicktime to play in a modal window as well as mp3's.
it would be even better to be able to have an option for the user to force the system to not put certain movies or audio files, so then for iphone browsers it would be possible to add compatible files with the ability to view them.

thanks UC! great stuff!

Avatar
Shawn Parr

Community Member, 60 Posts

2 April 2009 at 3:17am

I'll throw my hat in with throb. For some of our sites that would be incredibly useful. Currently we are just using dataobject_manager and have two different page types set up, one for documents, and one for media files. While this is functional, if there was a more extended version like Image Gallery that gave the lightbox features, it would take it to the next level.

Avatar
throb

Community Member, 23 Posts

2 April 2009 at 3:20am

oh, and in an ideal world...the quicktime would have a thumbnail. this thumbnail can be created by the user prior to upload so that the system doesn't have to worry about it. or...you could always use ffmpeg to generate the thumb :)

Avatar
Ben Gribaudo

Community Member, 181 Posts

2 April 2009 at 4:47am

On the thumbnails, it would be neat if there was a core interface (whether expressed or implied) that any child of File could implement to indicate that its instances are thumbnailable. Then, a module like ImageGallery would just need to check for implementation of that interface to determine if a thumbnail should be shown.

The end result: If you can create and register a custom File type that implements the thumbnail interface, the thumbnails show up automatically anywhere thumbnails can be displayed.

Are there others out there who think this would be helpful?

Ben

Avatar
throb

Community Member, 23 Posts

2 April 2009 at 7:17am

yeah i think this would be very useful. basically then anything could have thumbnails that are managed by this system. good stuff!

Avatar
UncleCheese

Forum Moderator, 4102 Posts

2 April 2009 at 7:20am

Edited: 02/04/2009 7:21am

Yeah, I agree. I think that's sort of the intention of the FileIcon() function. If you could overload the FileIcon() function of any custom File class, you could handle "thumbnailing" on your own.

Edit: I believe the function is just Icon().

Avatar
throb

Community Member, 23 Posts

2 April 2009 at 8:32am

..but...do you like (or want to do) the idea of having video and audio be managed by the image gallery system?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

2 April 2009 at 8:41am

Yeah, I have the audio set up. I've been trying to push it into SVN for a few days now. Probably bundle it with DataObjectManager rather than ImageGallery. I think the FileDataObjectManager should be used to handle stuff like Audio and video since users will want more customization of its presentation. ImageGallery is basically a special FileDataObjectManager that comes packaged with a template and UI features. I think we need to loosen up the restrictions a bit for audio/video and let people write their own templates.

As an example, the Audio file type will render a Flash player with a play button. I've also been working on a FlashVideo file type that draws a Flash player for its related FLV (generated after upload).

Go to Top