BuddyDev

Search

Gallery cover photo not displaying

  • Participant
    Level: Initiated
    Posts: 3
    Michael on #55383

    Please can someone advise on how I can get the gallery cover photo to show.

    I’ve created a separate a temporary site solely to try and get it work, but to no avail.

    I’m not using Buddypress as it’s a none member site, but has to be easily used by my client, hence the reason why I’ve opted for Mediapress.

    I have give temporary admin rights to the ‘Guest account’ with the hopes that someone might be able to login and help get the cover photo to show. The cover photo is already installed and showing at ‘Edit details’, but for some strange reason it’s not displaying in the gallery.

    I Could use a page, Gutenberg block and shortcode, but don’t want to as reordering and editing of the gallery is not reflected in the shortcode.

    So any help in getting the gallery cover photo to display would be very much appreciated.

    [Admin Note: Additional details Removed]

  • Keymaster
    (BuddyDev Team)
    Posts: 24950
    Brajesh Singh on #55386

    Hi Michael,
    Thank you for using MediaPress.

    I have checked the site and as you mentioned, the cover is visible in edit details.

    Can you link me to a page where it should be visible but it is not. That will help me understand it better and assist you.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 3
    Michael on #55391

    Hi Brajesh,

    Thanks for your prompt reply.

    As I understand it, the gallery page at the following link should be displaying a cover photo:

    https://weyisland.org.uk/build_1/site-gallery/our-favorite-photos/

    Ideally, I would like a cover photo to extend full width as per the following page: https://weyisland.org.uk/build_1/test-page/, but as I explained in my original query, the edited gallery is not reflecting any changes in the shortcode.

    Thank you,

    Michael

    • This reply was modified 3 days, 1 hour ago by Michael.
  • Keymaster
    (BuddyDev Team)
    Posts: 24950
    Brajesh Singh on #55393

    Hi Michael,
    Thank you for the reply.

    The gallery cover is not used like that(currently). We use gallery cover when you list all galleries. It shows the thumbnail there.

    You may use the gallery cover this way if you want. The cover can be accessed via the following code.

    
    $cover_src = mpp_get_gallery_cover_src( 'large', mpp_get_current_gallery_id());
    
    

    You can use this image as you please.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved