Edit source code gallery?

Discussion in 'HTML & Website Design' started by cees, Aug 21, 2011.

  1. #1
    Hello,

    im using an AJAX gallery for my website. Now I want to put not only landscape img as well portrait img. But these portrait img will not show in the center of the frame but to the left, how can I change that.

    In the thumb gallery under the big picture i also want portrait thumbs, but these one fit only one size, so the picture is not nice.
    Could some one help me with this?

    Maybe this will help:


    #gallery {position:relative; width:654px; margin:40px auto; padding:10px; border:6px solid #fff; background:#AAA
    }

    #images {border:2px solid #9ac1c9; height:225px; background:#eef5f6; margin-bottom:20px
    }

    #image {position:relative; width:640px; height:480px; padding:5px; border:2px solid #666; background:#FFF center center no-repeat
    }

    #image img {position:absolute; top:5px; left:5px center
    }

    #thumbwrapper {margin-top:10px; padding:5px 0; width:650px; height:100px; border:2px solid #666; background:#FFF
    }

    #thumbarea {position:relative; overflow:hidden; height:100px; width:650px;
    }

    #thumbs {position:relative; list-style:none; margin-left:5px; height:100px; width:10000px; border-right:5px solid #FFF
    }

    #thumbs li {float:left; margin-right:5px; cursor:pointer
    }

    .imgnav {position:absolute; height:375px; width:20%; z-index:100; height:375px; width:20%; z-index:100; outline:none; cursor:pointer
    }

    #previmg {left:0; background:url(images/left.gif) left center no-repeat; border-left:5px solid #FFF
    }

    #previmg:hover {opacity:1; filter:alpha(opacity=100)
    }

    #nextimg {right:0; background:url(images/right.gif) right center no-repeat; border-right:5px solid #FFF
    }

    #nextimg:hover {opacity:1; filter:alpha(opacity=100)
    }

    Thanx in advance,

    Cees
     
    cees, Aug 21, 2011 IP