wordpress as a gallery

Discussion in 'CSS' started by skazhy, May 8, 2008.

  1. #1
    i am making a gallery (with LightBox support) on WordPress. it's just a gallery, so i don't need titles for posts nor dates. Posts are only containing previews of pics. it looks like this: [​IMG]
    But, there is lot of blank space (if 'photo-posts' are added in multiple sets. in the 1st pic, photos are added as 3 posts). But how to get it look like this? :[​IMG]

    Maybe you can help me with the right CSS syntax in this occasion?


    Thanks in advance!
     
    skazhy, May 8, 2008 IP
  2. ourblink

    ourblink Peon

    Messages:
    25
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Simple to use CSS at image tag,
    Example for css ...

    #content img{
    float:left;
    witdh:blabla;
    height:blabla;
    ...
    ..
    }


    and get the image in single.php or index.php or home php

    <img src="<?php echo get_post_meta($post->ID, "Thumbnail", true); ?>" alt="<?php echo get_post_meta($post->ID, "Theme Name", true); ?> Thumbnail" />


    Its only the basic tehnique, you can do with another ideas similar with this
     
    ourblink, May 8, 2008 IP