Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Image Gallery Extension: Testers Needed

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1 2 3 4 5 6 7 8
Go to End
Author Topic: 24763 Views
  • UncleCheese
    Avatar
    4085 Posts

    Image Gallery Extension: Testers Needed Link to this post

    I was getting pretty frustrated with the Gallery module last weekend when I had to upload over 100 photos to my website. Fortunately, I was able to channel the frustration into something productive, and a few days later, I have a pretty nice, 99% hack-free extension to the Gallery module that makes image-only galleries a lot easier to update and nicer to look at. I'm looking for people to test it out, find the bugs, suggest features, and just all around let me know if it has any legs.

    Features

    * All photo management done through the front-end. Not in the CMS.

    * Built on jQuery framework. No more prototype.

    * Uses Shadowbox to display images. Lightwindow is too slow and buggy!

    * Extends the SS Gallery module, so it is very lightweight, and there is no duplicate code.

    * Facebook-style interface for adding captions after upload.

    * Drag-and-drop to reorder your photos right on your website.

    * Edit captions from within the gallery view.

    * Delete photos from within the gallery view.

    * Implements another extension I built for SWFUpload, which allows the fully configurable SWFUploadField Object to be added to front-end forms, bringing benefits such as:

    o File size and type is interrogated before file selection (invalid files are greyed out).

    o An unlimited number of files can be “shift” or “ctrl” clicked at once

    o Upload progress is displayed.

    o Flash Player 10 compliant.

    Known Issues

    * Sometimes the cache gets really sticky, and it can appear that no photos have uploaded, but you just have to refresh the page. I have HTTP::set_cache_age(0) set, and it seems to help a lot.

    The Demo

    The module is set up on an out-of-the-box Black Candy site at

    http://imagegallery.carlinowebdesign.com.

    Click "Image Gallery" to view the page. To get access to the admin features, click "Login" and use:
    u: admin
    p: password

    Enjoy!

  • Josh
    Avatar
    SilverStripe Developer
    65 Posts

    Re: Image Gallery Extension: Testers Needed Link to this post

    Hey Aaron,

    Nice work! I especially like the uploader.

    I have been working on the gallery module over the past 4 weeks - which now uses the nyroModal jQuery plugin - but your version used could well be better.

    Something my version of gallery has is a gallery holder - so each site can easily have multiple galleries in one area.

    Email me on josh@silverstripe.com so we can talk further about progressing this in the open source community

    Cheers,
    Josh

  • UncleCheese
    Avatar
    4085 Posts

    Re: Image Gallery Extension: Testers Needed Link to this post

    Great! Glad you like it. Just sent you an email. Thanks for the feedback.

  • rxbh
    Avatar
    Community Member
    1 Post

    Re: Image Gallery Extension: Testers Needed Link to this post

    So, where's the code?

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Image Gallery Extension: Testers Needed Link to this post

    Fantastisch! Yeah, where's the code? Publish early and often ;)
    I think the frontend lightbox stuff shouldnt really determine which gallery module (or extension) you're using - if the js libs in question are designed unobtrusively, you should be able to plugin in your own without changing php logic (apart from adding the javascript requirements). Josh, when switching libraries within the gallery module, how much code did you actually have to change to make this happen?

    Aaron, are you keen to help out on improving the gallery module itself? Features like inline editing would be nice to have in the main codebase as well from what I see. We're always on the lookout for module maintainers and contributors, gallery is no exception here

  • UncleCheese
    Avatar
    4085 Posts

    Re: Image Gallery Extension: Testers Needed Link to this post

    So glad to hear you like it. I knew this question was coming, and I should have addressed it in my original post.

    I figured rather than release buggy code, I'd first have people test and refine it before releasing it. So far everything is looking good. There's one change I want to make to the interface, so I'll post it tonight or tomorrow.

    Ingo, I'd be very interested in any opportunity you guys have for me. I'm really trying to carve out a niche in the SS community. Love what you guys are doing.

    Stay tuned for a zip file.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Image Gallery Extension: Testers Needed Link to this post

    Okay, I've attached the zip file. It includes both modules "image_gallery" and "swfupload." Just drop both of them in your Silverstripe root directory, along with the latest release of the Gallery module if you don't already have it.

    A few updates since the last one:

    * Added "admin" action. Now to get management features, just go to /my-gallery-urlsegment/admin to log in and get redirected back to an admin page for your gallery.

    * Added "View all Photos" option. Some users requested being able to reorganize photos across pages. By viewing all the photos on one page, that is now possible.

    * Styled the management links into a horizontal bar

    * Submit button on upload form now reads "save" in lieu of "add captions." Some users found this confusing.

    * "Skip this step" option added to caption form

    * Code has been commented and QA'ed.

    Keep the feedback coming!

  • UncleCheese
    Avatar
    4085 Posts

    Re: Image Gallery Extension: Testers Needed Link to this post

    I forgot to click "upload" for my attachment. Here you go.

    24763 Views
Page: 1 2 3 4 5 6 7 8
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.