WP Photo Album Plus
[resolved] WP Photo Album - Different Thumbnail Sizes on a Page (7 posts)

  1. cardan
    Posted 3 years ago #


    Thank you for creating this plugin Opajaap! I was using several image gallery plugins (including one that has been downloaded millions of times!) and this without doubt the best I have encountered.

    I am trying to make 3 albums in one page say: Top Pictures, Editor's Picks and Other Galleries.

    - Top pictures will have big thumbnail and displays horizontally.

    - Editor's Picks will have medium size thumbnails and displays vertically.

    - Other Galleries will only display small thumbnails without descriptions.

    I have tried styling a few elements in order to make such page, and so far the elements that can't be styled differently are thumbnail and column width (and I think there are some others, those that can be styled in admin panel). I noticed that they can be set in admin panel, but those settings are applied globally, so once we set them, it can't be override.

    So I suggest to make it possible for "outside CSS rules" to override the "default" rules to make it easier to style each elements differently. I am not sure if we can actually set the thumbnail sizes with CSS and therefor maybe make it so every album can have different thumbnail sizes.

    Thanks again for the plugin and reading this.


  2. Jacob N. Breetvelt
    Plugin Author

    Posted 3 years ago #

    The size of thumbnails for widgets is seperately settable in Table I-F.
    So at least you can have the verically orientated galleries with a smaller thumbsize if it suits you to have them in a widget.
    Use the Widget Thumbnail photos for this purpose.

    The only thing i can do is making the thumbnail size overrulable in the widget activation screen, to enable for different sizes. The display of the photo name is already settable at the widget activation.

    Would this get you where you want?

  3. cardan
    Posted 3 years ago #

    Hi Opajaap,

    thank you for your reply. I am using a different approach now (creating posts and then just looping them (their featured images / thumbnails - from template page - but I am planning to use the plugin for the homepage widget).

    I think having the ability to setup thumbnail size in the widget(s) would help, yes. Maybe I can widgetize the content area and then use widgets repeatedly in it.

    As for your suggestion, Thumbnail photo widget displays the whole photos of the album, while I want to display just the cover. And then, when we click on the cover (one photo) it will take us to the rest of the album / gallery, as usual.

    I also noticed something strange. I made a widget area at the top, and then I was trying to use wppa+ text widget (after thumbnail photo widget) but when I clicked the photo / cover it took me to the homepage ..? I am using this in a custom template page, and the album definitely has nothing to do with Homepage.

    I was using this command at the text widget:

    It displays the album cover and the widget name, but when I clicked it, I was directed to the homepage. However, the same comment (different album of course) at the regular content area at the same page work as expected. (sorry for repetition and stating something obvious, just trying to make myself as clear as possible)

    I am sorry if I missed this, but is there a way to skip the "medium display" and straight to lightbox mode? I mean, if we click the album cover, it would take us to "medium-size display" where we can view the EXIF, leave comment etc, and then, when we click on one picture, it would take us to Lightbox mode. So, can we skip this "medium-size display"?

    Thanks again

  4. Jacob N. Breetvelt
    Plugin Author

    Posted 3 years ago #


    is illegal, its either
    %%wppa%% %%album=1%% (to see the thumbnails) or
    %%wppa%% %%cover=1%% (to see the cover) or
    %%wppa%% %%album=1%% %%wppa%% %%cover=1%% resulting in two displays.
    See also: http://wppa.opajaap.nl/scripting-reference/
    If you use the visual editor, you can press the album icon on top (WPPA+ Gallery Shortcode) to let the computer create the desired shortcode, based upon your human-friendly input selections.

    It displays the album cover and the widget name, but when I clicked it, I was directed to the homepage.

    If you have the link set in Table VI-2b to --- The same post or page ---
    it links to the homepage because the widget is not on a page, but stands aside.
    You can select a different page (that must contain at least %%wppa%%) to link to, or you can specify a photo specific link in the edit albums -> manage photos section for each photo.
    If you do so, check the PSO checkmark in Table VI for the required purposes (line 2 in this case).

    I am sorry if I missed this, but is there a way to skip the "medium display" and straight to lightbox mode?

    You can not link from a cover to the lighbox show directly, but you can from the thumbnail display: select lightbox in Table VI-2: Link type.
    So, if you use %%wppa%% %%album=1%% you will initially display the thumbnails, that can be set to link to a 'standard' display page set in Table VI-2b, or to individual pages set in the album admin, with PSO checked in Table VI-2d.

  5. cardan
    Posted 3 years ago #

    Hi Opajaap,

    Thank you for your answer. As I said I am going with another route because I have to make the gallery "sort-able" while they are displayed and to have more control on the thumbnails. I still use the plugin for the posts though.

    One more question before I close this thread, is it possible to use wppa+ in WP's conditional tags / loop? Probably something like:

    $custom_query = new WP_Query('cat=5');
    while($custom_query->have_posts()) : $custom_query->the_post();
    // fetch thumbnail from wppa

    Hope you get what I mean.

    Thank you

  6. Jacob N. Breetvelt
    Plugin Author

    Posted 3 years ago #

    If the post contains a script sequence like %%wppa%% %%.....%% it will render as long as the filter 'wppa_albums_filter' is not removed from 'the_content'.

  7. cardan
    Posted 3 years ago #

    I see.. Thank you for your plugins and answers Opajaap :)

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