NextGEN Gallery
Random image sizes for masonry layout (2 posts)

  1. NWTD
    Posted 2 years ago #

    Ultimately, my goal is to accomplish something like this: http://erikjohanssonphoto.com/work/imagecats/personal/

    I have added various image sizes to my theme before I uploaded any images:

    add_image_size( '140', 140, 140, true );
    add_image_size( '280', 280, 280, true );
    add_image_size( '596x292', 596, 292, true );
    add_image_size( '292x596', 292, 596, true );
    add_image_size( '444x292', 444, 292, true );
    add_image_size( '292x444', 292, 444, true );

    Despite all that, the images still remain in the same size.

    Is there a way to randomize the size of the images with the image sizes I defined, or by a setting somewhere?

    Another solution might be accomplished with something like the perfect masonry jQuery plugin: http://www.drewdahlman.com/meusLabs/?p=218


  2. photocrati
    Plugin Author

    Posted 2 years ago #

    @NWTD - Our current masonry script does not allow for the varying sizes you appear to be looking to use but this is becoming a more popular Feature Request. You are more than welcome to add your thoughts and ideas for this on our Feature Request form here: http://www.nextgen-gallery.com/feature-voting/


    - Cais.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.