Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

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

cwsoft-foldergallery - image gallery for SilverStripe 3


Reply


86 Posts   11977 Views

Avatar
haantje72

Community Member, 69 Posts

16 October 2012 at 7:45am

youre welcome. :)

Avatar
haantje72

Community Member, 69 Posts

16 October 2012 at 7:54am

thanks for the credits :)
You've got my mailadres. If you need some testing or translation... mail me. If i can make some free time i'll do it asap.

Avatar
cwsoft

Community Member, 57 Posts

17 October 2012 at 6:39am

Hi,

just released cwsoft-foldergallery v2.3.2 at [url=https://github.com/cwsoft/silverstripe-cwsoft-foldergallery#readme]GitHub[/url].

Updates since last version:
- moved _config.php module settings to the top of the file
- added jpeg to the image extension class (now supports: gif,jpg,jpeg,png)
- replaced the jQuery text link to show the original image size by a icon (looks nicer)

Further details and download via GitHub.
https://github.com/cwsoft/silverstripe-cwsoft-foldergallery#readme

Feedback welcome.

Cheers cwsoft

Avatar
cwsoft

Community Member, 57 Posts

18 October 2012 at 7:46am

Edited: 18/10/2012 7:47am

Hi,

just released cwsoft-foldergallery v2.4.0 at [url=https://github.com/cwsoft/silverstripe-cwsoft-foldergallery#readme]GitHub[/url].

Updates since last version:
Merged pull request from Juanitou with several improvements (thanks man, highly appreciated):
- fixed error when visiting a foldergallery page with no or empty folder
- implemented i18n for Javascript files
- provided French translation

Further changes:
- renamed Javascript key "FULLSIZE" to "FULL_SCALE" to make purpose more obvious
- added nl_NL.js file with translation from haantje72
- updated README to reflect contributions from Juanitou

Further details and download via GitHub.
https://github.com/cwsoft/silverstripe-cwsoft-foldergallery#readme

Feedback welcome.

Cheers cwsoft

P.S.: By the way I am really impressed by the good feedback and all the help I received in the recent days and my first sucessfull merge of a GitHub pull request :-)

Avatar
cwsoft

Community Member, 57 Posts

22 October 2012 at 8:29am

Hi,

just released cwsoft-foldergallery v2.5.0 at [url=https://github.com/cwsoft/silverstripe-cwsoft-foldergallery#readme]GitHub[/url].

Updates since last version:
- added cover album title and number images/subfolders to album overview
- added a textlink to start a jQuery Colorbox slideshow (automatic cycling through images on a page)
- added optional breadcrumb navigation (configurable via _config.php)
- fixed wrong counting of subalbums
- some layout improvements

Further details, screenshots and download via GitHub.
https://github.com/cwsoft/silverstripe-cwsoft-foldergallery#readme

Feedback welcome.

Cheers cwsoft

P.S.: The Dutch and French language files located in module folders /lang and /javascript/lang would need some updates (2 text lines) for the newly implemented slide show. Any help on the translation is highly appreciated.

Avatar
Lexandclo

Community Member, 34 Posts

22 October 2012 at 6:34pm

Hi cwsoft

Do you have any idea how I might get the album cover of an album on the front page.
Do if I had a parent page gallery, and the sub pages would be gal-1,gal-2, gal-3 etc
And I want to get the album covers of the gal albums on the home page.
I know I can change home page to a gallery page but then j would have to same layout on the gallery page thorout the sure which I don't wont.
Any ideas

Thanks

Avatar
cwsoft

Community Member, 57 Posts

23 October 2012 at 4:23am

Edited: 24/10/2012 7:02am

Hi,

Do you have any idea how I might get the album cover of an album on the front page.
In principal SilverStripe allows you to display content of one page in another page. Assuming you have a custom HomePage.php and HomePage.ss for your entry page, one could add the following code into the HomePage.ss template to fetch content from the foldergallery page.

<% control Page(cwsoft-foldergallery) %>
$Content   
<% include Foldergallery %>
<% end_control %>

However one would need to add some more functions to the foldergallery module (cwsFolderGallery.php to be specific) to extract a specific album or a punch of albums.

Due to my limited spare time I can't afford much more time on that issue at the moment. Maybe the infos are enough for you to figure it out yourself, or someone else is keen to implement such a feature.

Best regards

Avatar
cwsoft

Community Member, 57 Posts

31 October 2012 at 8:14am

Edited: 01/11/2012 8:22am

Hi,

just released cwsoft-foldergallery v2.6.0 at [url=https://github.com/cwsoft/silverstripe-cwsoft-foldergallery#readme]GitHub[/url].

Updates since last version:
- made image sort order configurable via "_config.php" (Filename, Created, LastEdited in order ASC/DESC)
- made text link to start slideshow unobtrusive (only displayed if JavaScript is enabled in your browser)
- album/images prev/next pagination links are now multilingual

Further details, screenshots and download via GitHub.
https://github.com/cwsoft/silverstripe-cwsoft-foldergallery#readme

Feedback welcome.

Cheers cwsoft