Jump to:

10989 Posts in 2726 Topics by 1817 members

All other Modules

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

Discuss all other Modules here.

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

Go to End
Author Topic: 77092 Views
  • 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

  • UncleCheese
    Avatar
    4085 Posts

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

    Hmm... Could be a lot of things. I think in the GD class somewhere you can set the default quality. I have heard from a number of people that Silverstripe does a number on images with its compression tools.

    77092 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.