WordPress.org

Forums

WP Photo Album Plus
[resolved] sidebar slideshow widget (9 posts)

  1. lieuwe
    Member
    Posted 3 years ago #

    Thx for the great plugin.
    Is there a way to fix the height of the sidebar widget? I am using "fit" for the vertical alignment, but with pics with different width/height ratio's the widget varies in height. so I would have a fixed height.

  2. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 3 years ago #

    Assuming you mean the sidebar slideshow widget:

    You should NOT use fit as fit fits the height of the picture that may vary.

    You should use center, and portrait only NO. (Both settings on the slideshow widget).

    With center and no, the space for the photo in the widget reserved is the width of the widget and the height calculated from the quotient of the fullsize width and height as set in Table I items 2 and 3.
    The photo will be placed in the center of that area, as big as possible.

    I have currently set the slideshow widget on my docs and demo site accordingly to show you. Right sidebar, lowest widget)

  3. lieuwe
    Member
    Posted 3 years ago #

    thanx for your reaction.
    the quotient of the fullsize widthe and height as set in table 1 items 2 and 3 is 1: 640/640. (640 as being the column width)
    If I use center and no, the height of the widget is approx. the same as the width of the widget. Until now my only solution is, to make every picture exactly to the same height. Changing item 2 and 3 will also reduce the h/w of the used pictures.
    kind regards

    Lieuwe

  4. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 3 years ago #

    It looks that it works as designed

  5. lieuwe
    Member
    Posted 3 years ago #

    pls look at http://www.vvbeetgum.nl
    you can see that the widget varies in height.
    I ve tried some different values for item 2 and 3, but they also change the pictures w/h.

  6. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 3 years ago #

    You set vertical align to fit, then it is your responsability to make them same height. Alternative is v-align center and set the width/height params to the desired aspect ratio.

    How do you want it then??????

  7. lieuwe
    Member
    Posted 3 years ago #

    ok.
    I get that first line, thats logic.
    should have understand that.
    Still don't get why/how item 2 and 3 which are ment for pics max sizes, have influence on the sidebar (smaller) pics.
    But ok, I found some values by trial and error.
    thanks for help.

  8. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 3 years ago #

    I will provide a fixed height for the slideshow frame in the slideshow widget in a future rev that will overrule the computated height from the item2/3 quotient.

  9. lieuwe
    Member
    Posted 3 years ago #

    opajaap,
    thx very much for the very quickly update where we can use a fixed height.
    superb
    Lieuwe

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Photo Album Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic