WordPress.org

Forums

Hey It's a Flickr Widget
Picture layout (4 posts)

  1. RoarinRow
    Member
    Posted 3 years ago #

    The widget puts the pictures in a column. How do you make it so that a set of 6 pictures are in a grid format instead of a column?

    Thanks!

    http://wordpress.org/extend/plugins/hey-its-a-flickr-widget/

  2. csigncsign
    Member
    Posted 3 years ago #

    /* --- Flickr Widget --- */
    .widget_flickr #flickr-images li.flickr-image {
    margin:0 3px 3px 0;
    padding:0;
    float:left;
    list-style:none;
    }

    float and list-style does it in your CSS

  3. RoarinRow
    Member
    Posted 3 years ago #

    Thank you. That works. The pictures are in a grid, however, it does it automatically resize the pictures in the same sized thumbnails. The widget settings has an setting for the width, but not the height. Is add the height a future item? or is that something that can also be controlled by the CSS?

    Thanks!

  4. GeorgeGecewicz
    Member
    Plugin Contributor

    Posted 3 years ago #

    Hi @RoarinRow! I'm the plugin author. Thank you @csigncsign for chiming in, that's exactly the code I'd use.

    As far as custom height, I played around with this in development. But the problem is that not every photo is perfectly square. With a set image width, most browsers will resize the thumbnails to fit into nice little squares. But with a set image height, many times the grids would look all wonky and weird. I could make it so that you'd set a width and a height, but that didn't seem like a good move to me.

    Hope you like the plugin! Would a good option be to perhaps to have it as a grid or in column form? Like a little checkbox? That shouldn't be too hard to add.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Hey It's a Flickr Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic