Version 1.0.6 is up for grabs at usual place  – please see official announcement

Changes:

  • CSS cleanup
  • If Gallery Description left empty, space would not be allocated in the Root Page causing image to be centered
  • New colorpack: whitehawk – White theme

Enjoy

Categories: Piwigo

23 Comments

Neil · Aug 24, 2014 at 15:05

Just to say I really appreciate all the effort in making your theme and plugin available for Piwigo.

I installed version 1.0.6 and changed to the whitehawk colorpack (thanks for that).

Just a couple of questions:

If I check or uncheck (gdThumb) ‘Scale thumbnails’, I fail to see any changes or maybe I’m just being dumb! What exactly should happen when ‘Scale thumbnails’ is checked? BTW each time I made a change I purged and rebuilt the thumbnail cache.

In the Gallery 3 version of GD I am able to set rows and columns and the Aspect Ratio, effectively allowing square thumbnails. Is this going to be possible in the Piwigo port? I ask this since the Gallery 3 version of GD provides for a much nicer (in my opinion) layout and pagination.

Just to illustrate my point about layout, my Piwigo test installation is at http://neiljacklin.com/piwigo and my Gallery3 at http://gallery.neiljacklin.com. The 2014 albums in each installation contain the same images.

    Serguei Dosyukov · Aug 24, 2014 at 17:13

    difference is in how thumbs are scaled – resize vs crop. it is straight from gThumb plugin and I did not do any changes in that area.
    Idea behind the code is that if “resize” (unchecked) is used or thumb’s height/width (when crop) is less than expected, then code will try to resize the thumb to make sure that “max height” criteria is met.
    Crop method is better as it would fix situation when picture’s proportions are not the same and in order to show the thumb we need “squish” it, i.e aspect ratio may be affected. Crop will just make it so “leftovers” are outside visible area and keep image intact.

    Theme would not provide thumbs settings built in, but rather plugins like gdThumb are to be used for various styles.

    By looking at gdThumb logic, I think it is possible to achieve “square” mode utilizing “crop” scale.
    I will check if it can be achieved in gdThumb

    Serguei Dosyukov · Aug 24, 2014 at 23:11

    Version 1.0.3 of gdThumb has been published. you can now use Square thumbs (experimental)

      Neil · Aug 25, 2014 at 07:25

      Noticed a typo:

      /piwigo/themes/greydragon/template/footer.tpl

      line8: ‘contact’ should be capitalised

Neil · Aug 25, 2014 at 03:37

Thanks for the explanation of ‘Scale thumbnails’. I now understand the logic behind the setting.

I upgraded to gdThumb v 1.0.3. and changed the ‘Scale thumbnails’ setting to ‘Square’. This is now perfect for my usage and apart from things like thumbnail frames, which I can live without, my Piwigo layout mirrors my Gallery3 layout and I can now think about migrating fully from Gallery3 to Piwigo. Many thanks.

OC2PS · Aug 27, 2014 at 06:32

Please include Social Gallery https://wordpress.org/plugins/social-gallery-lite/ style social lightbox. Basically, it is a simple lightbox with Facebook comments integrated into the lightbox.

    Serguei Dosyukov · Aug 27, 2014 at 10:31

    do you intend to see normal comments there as well?

      OC2PS · Aug 27, 2014 at 10:33

      No. Just Facebook comments.

    Serguei Dosyukov · Aug 27, 2014 at 10:33

    Does license allow us to port it out of WP? I thought it is simply a light version of another plugin they are selling

      OC2PS · Aug 27, 2014 at 10:35

      It is a light version of a plugin they sell. But since the light version is listed on wordpress.org therefore it has been released under GPL2-compatible license, meaning yes, it allows porting

        Serguei Dosyukov · Aug 27, 2014 at 10:40

        hm, ok, IF we can port, should be easy to clone

        OC2PS · Aug 27, 2014 at 10:42

        http://make.wordpress.org/plugins/2012/12/20/gpl-and-the-repository/

        All plugins hosted in the WordPress.org repository must be compatible with GPLv2 or later. That means all code that is on our servers, from images to CSS to JS to the PHP code, has to meet that requirement. This is an extra requirement than just the standard one of derivative code, but we strongly feel that proprietary content has no need to be in our repository. If your code needs to be split licensed, or you have to included proprietary code for any reason, we can’t host you on .org

        Serguei Dosyukov · Aug 27, 2014 at 10:51

        EpicPlugins is now in your forum post and offered creation of the port. I think it would be better to come from author himself.

          OC2PS · Aug 27, 2014 at 10:56

          Let’s see whether he decides to port. If not, then including FB comments in GD may be relatively simple and interesting https://developers.facebook.com/docs/plugins/comments

          Serguei Dosyukov · Aug 27, 2014 at 16:08

          Interesting, not necessarily theme specific, but worth considering assuming all your visitors are using FB

          OC2PS · Aug 27, 2014 at 10:57

          P.S.
          The Facebook comments box is rendered in an iframe on your page, and most search engines will not crawl content within an iframe. However, you can access all the comments left on your site via the graph API as described above. Simply grab the comments from the API and render them in the body of your page behind the comments box. We recommend you cache the results, as pulling the comments from the graph API on each page load could slow down the rendering time of the page.

OC2PS · Aug 27, 2014 at 06:35

Also, any chance you would consider masonry layout for photos?
(would need to separate out subalbums and list them separately on top for this to be user-friendly)

    Serguei Dosyukov · Aug 27, 2014 at 10:31

    Example?

      OC2PS · Aug 27, 2014 at 10:34

      Pinterest 🙂 http://masonry.desandro.com/

        Serguei Dosyukov · Aug 27, 2014 at 10:39

        Do suggestions in your forum post work for you?
        I will be continuing work on gdThumb to allow both horizontal and vertical thumb arrangements (you have horizontal support now), but other than what else are you looking for?
        “Pop” on hover can be supported easily

Leave a Reply