Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Flickr Image Gallery for SilverStripe

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
Go to End
Author Topic: 19052 Views
  • laktek
    Avatar
    Google Summer of Code Hacker
    76 Posts

    Flickr Image Gallery for SilverStripe Link to this post

    As part of the gsoc-mashups project I've implemented the Flickr gallery controller which would allow you to create a image gallery using the WYSIWYG editor. Gallery supports pagination and you could filter your images based on author, tags or photosets.

    You can have a look at the sample here : http://www.web2media.net/sstheme/gallery/

    You could see the code of the mashups module, if you got SVN access: svn://svn.silverstripe.com/silverstripe/modules/mashups

    I would appreciate your feedbacks on code and any ideas on implementation.

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Flickr Image Gallery for SilverStripe Link to this post

    I think its great and see it fine for an initial release. While I have a heap of ideas, I'd rather see the youtube and technorati code reach this same 'initial release' calibre, and then have you improve each of them once released

    One quick suggestion for now, is to change the tree icon to a white page with the flickr "f" logo in it, to help mark that the page is a FlickrGallery page. Its always a good idea to demark pages with special behaviour ...

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Flickr Image Gallery for SilverStripe Link to this post

    static $icon = "cms/images/treeicons/book";

    It then looks for 'book-file.gif' in /cms/images/treeicons/

    Cheers,
    Sean

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Flickr Image Gallery for SilverStripe Link to this post

    Matt/Lakshan you need to update the readme, its talking about the forum!

    http://trac.silverstripe.com/gsoc/browser/modules/mashups/trunk/README

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Flickr Image Gallery for SilverStripe Link to this post

    I've added the mashup module to the daily builds.

    This means the public can download the mashup module at
    http://dailybuilds.silverstripe.com/modules-tarballs/mashups.2007-07-05.tar.gz

    And browse source at
    http://dailybuilds.silverstripe.com/modules-source/mashups/

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Flickr Image Gallery for SilverStripe Link to this post

    Sean.... and if you were to set the silverstripe tree icon to a file inside the mashups directory so as to ot need to bloat the core package... can you tell us what to do there?

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Flickr Image Gallery for SilverStripe Link to this post

    Lakshan.. ok, I said I didn't come up with any other ideas but if it is really easy then a dropdown of "order" would be quite cool.

    I'd say "Most recent first" / "Most relevant first" / "Random" with recent being the default / what you currently have.

  • Matt
    Avatar
    Core Development Team
    84 Posts

    Re: Flickr Image Gallery for SilverStripe Link to this post

    First off, awesome work Lakshan! The work you've done has been excellent, and you've taken our ideas on board and made them your own, so well done

    The only thing left for iteration 1 is the social bookmarking icons, which I see from other code files that you've started

    Sig: It's as easy as doing static $icon = "mashups/images/treeicons/flickr";

    Then making the flickr-file.gif etc icons (IIRC). Take a look at SiteTree (?) to see how it's implemented there.

    Lakshan/Sig: I've updated the README file as requested.

    One thought that we've bandied around a bunch is making RestfulService part of the sapphire core, then instead of having a mashups module, we'd have a flickrgallery module, a cosmosmodule etc. I think it makes a bit more sense - because the RESTful interface wouldn't just be used for mashups, it could be used for communicating between two servers to exchange/synchronise data etc. What do you think Lakshan?

    19052 Views
Page: 1 2 3 4 5
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.