7935 Posts in 1536 Topics by 943 members
|Go to End||Next >|
19 February 2010 at 8:37am
This is on my own theme that I created from scratch and it doesn't have an ImageGalleryPage template overriding the one in the module, though I also attempted to create one to override it, but it's not working, either.
Also, I noticed that it errors if the dimensions for Album Cover Images (Configuration tab) aren't set, even if there aren't album cover images selected. Perhaps it would be a good idea to set a default value that isn't 0?
19 February 2010 at 2:46pm
I'm not sure what version 1.0 is, but default values for the image sizes have been in ImageGallery for a long time. Look in your ImageGalleryPage.php:
static $defaults = array (
'CoverImageWidth' => '100',
'CoverImageHeight' => '100',
'ThumbnailSize' => '85',
'Square' => '1',
'NormalSize' => '500',
'MediaPerPage' => '30',
'MediaPerLine' => '6',
'UploadLimit' => '20'
If you don't have that, you're in dire need of an upgrade.
20 February 2010 at 4:37am
I got it from the download page for it, which is also where the "Ultimate Guide" links to. It says the latest version is 1.0, and the download link points to r352. It does have a date of March of last year, so that might be the issue (and in which case appears to scrub the theory that it pulls from the repository every night, unless it just doesn't update the date).
20 February 2010 at 4:43am
That's really surprising to me. I thought that ZIP file was kept up to date automatically from the repo. I'll look into that.
20 February 2010 at 4:45am
Well, I'm grabbing the version from the repo right now, so if they are different, it might fix the problems I've been having.
20 February 2010 at 4:48am
Ok, looks like Silverstripe updated their Modules page with some new fields, and the SVN URLs got axed. Just put them back in for all my stuff.
20 February 2010 at 4:59am
Alright, so the update from the repo did add default values. It also fixed the missing upload from computer button issue that I had (but noticed a number of other posts regarding it). Don't know if it was something you changed or the simple act of updating that fixed it, but I'm not arguing (technically, my issue I think stemmed from trying to upload images via FTP because it's worlds faster, but it seems SS as a whole doesn't like that much, as I've ended up not only with quirks from image gallery, but base SS as well; Willr is already aware of this and I think he put a ticket in).
However, I still don't have images showing up on my gallery pages. They appear in the CMS side, but aren't showing up on the published pages. I don't currently have a gallery-specific template overriding the module templates. Should I have one? If so, what do I need to add for them to show up?
20 February 2010 at 5:15am
Post a link and I'll take a look.
|Go to Top||Next >|