Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Gallery module v 0.2.2 has been released

Our old forums are still available as a read-only archive.

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

Page: 1 2 3
Go to End
Author Topic: 62445 Views
  • The Frenchy
    Avatar
    Core Development Team
    40 Posts

    Gallery module v 0.2.2 has been released Link to this post

    This version has been made to fix the bugs that the SilverStripe users have noticed.

    So I thank all the persons which take the time to inform us about the bugs present in this module.

    You will also find in this version a new functionality which is the sorting of the files in the gallery.

    To download the version 0.2.2, click here.

    For more informations about the sort functionality, check the documentation.

    Important Notice : Most of the problems here have been fixed in the SilverStripe 2.2.0 which means that you have to download it to see the changes (its coming out in a few days).

    As for the problems which have been fixed :

    1. GalleryPage Saving Problem
    An error was happening on some computers where users could not save a Gallery. Now it's fixed.

    2. Image Border In The Gallery And The Lightwindow
    Everybody was having a grey border around the images of the gallery which was breaking the layout. Now it's fixed.

    3. Upgrading from version 0.1 Problem
    Some users have noticed that the folder location was not saved when you upgraded the version 0.1 of the gallery. Now it's fixed.

    4. GalleryPage Delete Problem
    There was a Javascript error and also an error due to the Extensions table. Now it's fixed.

    5. Default Image Remove Deletes The File From The Assets
    When you wanted to remove the default image, the program was actually also deleting the image from the assets. Now it's fixed.

    6. GalleryPage Template
    Some users were a little bit upset by the fact that you needed to edit or create a ss file to put the code

    <% include GalleryPageContent %>

    to see your gallery. A default template has been added now. Now it's fixed.

    7. GalleryPage Extensions Problem
    Another problem that some users have had to face was the extensions table. Actually most of them wanted the Images extensions auto-selected at the creation. Now it's fixed.

    I hope you will enjoy this module.

    Continu to write on the forums all the errors that you notice on this module.

  • ilivewithian
    Avatar
    1 Post

    Re: Gallery module v 0.2.2 has been released Link to this post

    I've found a bug in the gallery, it only seems to happen in IE7/Vista, but when viewing a gallery, the first time you view and image the image does not display full size, but rather shows really small. The second time I visit the image, it shows full size. I've attached a partial screen shot showing what I mean.

    Also, if i clear out my cache and go back to the image, again the image is small the first time I rty to view it.

  • m_eiman
    Avatar
    Community Member
    2 Posts

    Re: Gallery module v 0.2.2 has been released Link to this post

    I have the same problem, but it's the same in IE6/XP as well and not just IE7/Vista.

    Also, for some reason the images are scaled wrong sometimes - it's the same way on the Gallery demo page, so I'm guessing it's not some config thing I've done wrong?

  • m_eiman
    Avatar
    Community Member
    2 Posts

    Re: Gallery module v 0.2.2 has been released Link to this post

    Aha! Found a fix for the IE problem: http://forum.stickmanlabs.com/viewtopic.php?pid=1172#p1172

    There's also another IE bug that's fixed in the same part of lightwindow.js, see http://forum.stickmanlabs.com/viewtopic.php?id=309

    I added both fixes, and it seems to be ok now.

    Perhaps something to include in the next version?

  • MIke
    Avatar
    Community Member
    7 Posts

    Re: Gallery module v 0.2.2 has been released Link to this post

    Hi guys,

    I have 2 issue with lightwindows. Fist it does not work properly on IE6 I have add the fixes

    lightwindows.js line 1245 :

    $('lightwindow_image_'+i).setStyle({
                            height: '100%', width: '100%'
                         });


    Works fine in IE7 but does not work in IE6 still reduice to max (I means that the boxes load but dispear on the left, like out of screen or no size)
    (I do not worry about IE 6 display ...strart to be used to surpirses with IE6.... but if someone fixed it.. )


    AND MY MAIN ISSUE CONCERN THE PAGING , for me it works only with FF, ((i have setup only 3 pict by lines and pages) ; when i change of page and click on the pictures O have an error on prototypes and the pictures load is alwways the last one (so for me the third) of the first pagation of the galiery ...

    For exemple I click on my pictures 4 of 8, prototypes will throw a Js error first, then the lightwindows will show up with the pictures 3 of 8... And it's works fine on FF...

    Weird...
    I am sure someone has already got the same issue...

    And the forum of http://forum.stickmanlabs.com seems to have several issues...

    Thanks ,

  • Jarri
    Avatar
    Community Member
    10 Posts

    Re: Gallery module v 0.2.2 has been released Link to this post

    Hi - Hope this helps... I have just solved what I think was the same/simaler problem -
    IE6 and IE7 seemingly randomly load an image as a tiny thumbnail the first time - but show it correctly on a second attempt. On FFox the problem did not occur. I found the same issue on the Silverstripe demo gallery.
    The Lightwindow forums have been discussing this issue and offered various solutions. The most recent of which worked fine for me:
    http://discuss.stickmanlabs.com/forums/2/topics/812I have been experiencing a number of problems viewing the lightwindows forums - so in case you can't view this the fix (by someone going by the name Jaryl - thanks Jaryl!) points to some code at
    http://pastie.caboo.se/175637 I found and replaced this in the gallery/javascript/lightwindow.js and the problem has now gone away - at least in IE6. Really saved me from alot of trouble!!
    If this sounds relevant could someone try this - if it is seen to work then we can suggest that it is included in Gallery 0.2.3
    I have not tried current daily of 0.2.3 - but the lightbox.js does not include this code.

  • cmingster
    Avatar
    Community Member
    2 Posts

    Re: Gallery module v 0.2.2 has been released Link to this post

    The paging in the Gallery module doesn't work properly. If i click on an image on the second page it shows me the wrong picture, this only happens in IE6 and IE7. Only the first page of Gallery works properly. This also happens in the demo page of Silverstripe. Anyone got a clue on how to fix this? Thanks

  • Jarri
    Avatar
    Community Member
    10 Posts

    Re: Gallery module v 0.2.2 has been released Link to this post

    I noticed the same problem - I think something very simaler has been logged as a bug: http://open.silverstripe.com/ticket/2440 .
    I have tried to contact the developer Romain to see if there has been any progress with this. I'm guessing not yet as this behaviour still exists on the demo site. I suppose a temporary, (though clearly not ideal) workaround is to create galleries of just one page.

    62445 Views
Page: 1 2 3
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.