ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Photo Gallery images seamless with respect to division bolder

January 28, 2008 7:17am

Subscribe [1]
  • #1 / Jan 28, 2008 7:17am

    blackhorse

    4 posts

    Hi,
    In a photo gallery (like in the most recent on index or also the category) I like to display the thumbs seamless (not ordered in squares as derived from columns=xx and rows=yy) and in a way the right border from the actual division is kept (breakline with right border division).
    At the moment EE generates each cell from the table the same size and if I set many columns (like columns=40, rows=5—> to display a lot of thumbs) no break at the division-border is made and the row overflows the box (division) and puts thumb by thumb on the right.
    I would like the thumbs neatless (not in table with same-sized square) and a automatic breakline with the division-border.
    Is there a way how I can do this?

  • #2 / Jan 28, 2008 8:48am

    RJN

    61 posts

    the gallery has a template and a css file, just remove the table from the template and edit the css to display the images as you wnat them, just the same as any ee template file.

  • #3 / Jan 28, 2008 2:02pm

    blackhorse

    4 posts

    Hi, this is great advice, I at least got what I wanted. Thanks. Your advice is very appreciated.

    ——————————————
    the following code worked out for me:

    <div class=“photobox” align=“center” </div>
    {exp:gallery:entries gallery="{gallery_name}” orderby=“random” limit=“50”  paginate=“both”}
    {entries}
    {row}
    // here comes the normal <href> <src> line, can’t comment here because they always disappear from the post (don’t know why)
    {/row}
    {/entries}
    {/exp:gallery:entries}
    </div>
    ——————————————-

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases