Jump to:

10375 Posts in 2190 Topics by 1707 members

All other Modules

SilverStripe Forums » All other Modules » Image Gallery Extension: Testers Needed

Discuss all other Modules here.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Go to End
Author Topic: 66864 Views
  • micahsheets
    Avatar
    Community Member
    162 Posts

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

    Hey, I had a huge long question posted here that was probably too difficult to understand so I removed the text. The forum software doesn't allow me to just delete one of my posts so I am just putting this explanation instead. If a mod wants to delet this post then please do. Also It would be something that might be good to add to the forum modules that people can delete their own posts if need be.

    Thanks all.

  • UncleCheese
    Avatar
    4085 Posts

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

    I'm not entirely clear on what you're trying to do, but it seems to me all you need is something like:

    $fields->addFieldToTab("Root.Content.Portfolio Pages", new DropdownField('PortfolioPageOneID", "Portfolio Page One"));
    // etc..

    And then you'd have all your accessors available:

    $this->PortfolioPageOne();
    $this->PortfolioPageTwo();

    etc..

    Looks like you removed the post, though.. so maybe that won't help.

  • Johnny
    Avatar
    Community Member
    34 Posts

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

    Hi!

    I've checked out the files from your SVN. I've created a gallery and now I want to upload photos. What I got is an empty popup (look attachment) and there's a PHP error:

    [21-Apr-2009 17:23:50] PHP Fatal error: Class name must be a valid object or a string in /Applications/MAMP/htdocs/parking/sapphire/filesystem/Folder.php on line 70

    Any idea?

    Attached Files
  • UncleCheese
    Avatar
    4085 Posts

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

    Something's funky in your assets folder. Your filesystem isn't syncing correctly. Try navigating to the Files & Images tab and then back to site content.

  • Johnny
    Avatar
    Community Member
    34 Posts

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

    The « Files & Images » tabs is now broken, nothing is shown (blank page, which suggest a fatal error) and the same fatal error shows on my logs...

  • Johnny
    Avatar
    Community Member
    34 Posts

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

    Thanks for your input! Some of the records in the files DB table didn't have a ClassName... which is wierd, but I deleted them, and now I hope I didn't screew the whole DB!!!

    JP

  • UncleCheese
    Avatar
    4085 Posts

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

    Working now?

  • Joshuarr
    Avatar
    Community Member
    37 Posts

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

    Hey UC,
    Large images (800x500px -- not really that large) are showing a lot of compression artifacts - is there a way to override the compression settings?
    Thanks,
    J

    66864 Views
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.