WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. NWTD
    Member
    Posted 6 months 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

    http://wordpress.org/plugins/nextgen-gallery/

  2. photocrati
    Member
    Plugin Author

    Posted 6 months 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/

    Thanks!

    - Cais.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.