• Resolved smazzoni

    (@smazzoni)


    Hi!

    I’m trying to display thumbnails for one specific album, but I’d like only to show the pictures in squares of 100×100 one next to the other. I know how to do this with CSS but I don’t know how to retrieve the album and add something like a WordPress filter to get only the thumbnails. I don’t need the album or photos titles. Maybe a PHP array with the thumbnail paths would be perfect, but again I don’t know if there’s a filter for this. I’ve tried for hours but couldn’t find a way. Any help is really appreciated!

    https://www.ads-software.com/plugins/wp-photo-album-plus/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    On the Photo Albums -> Settings admin page:
    Set Table I-C1a to 100
    Set Table I-C3a to 100
    Set Table I-C4a to 100

    On the Photo Albums -> Edit album information screen of the album involved:
    Set Use alt thumbsize to yes

    On the page or post:
    Use shortcode [wppa type="thumbs" album="2"][/wppa] with optionally the size=".." and/or align=".." arguments

    Thread Starter smazzoni

    (@smazzoni)

    It works perfectly Jacob, can I limit the number of thumbs to show on the same shortcode?

    Thread Starter smazzoni

    (@smazzoni)

    Actually, can I limit the number of thumbs showed in a row? sometimes I need 5, sometimes 3, I’ve seen this under settings but only as a global variable.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    If your theme is not responsive, you can add size=”420″ to the shortcode to limit the width to 4 images etc. Also there is align=”..” to position the display.
    See: https://wppa.opajaap.nl/shortcode-reference/

    If your theme is responsive, you can use size=”0.75″ to get 75% of the available width. It takes some trial and error but with this you should be able to get what you want.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Filters’ is closed to new replies.