BuddyDev

Search

[Resolved] Mediapress lighbox image size

  • Participant
    Level: Initiated
    Posts: 8
    wpdev on #14344

    Hello,
    Im using buddypress with mediapress. In activity we can see thumbnails of images posted. When clicked on these image thumbnails, we open the lightbox. Can we show images with original size in lightbox and disable the option to click on image and navigate to gallery.
    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24645
    Brajesh Singh on #14354

    Hi WPDev,
    Welcome to BuddyDev.

    1. Showing fullsize in the lightbox:- It is possible to do via settings but in the current version we have a bug. If you select original, it does not show. I have fixed it in our dev repo and the change will be available in the release next week.
    https://github.com/buddydev/mediapress/commit/dc015a578de4335eec84b8ac3d8b0f97e710f25b

    For non clickable lightbox, I guess, we can achieve via a bit of javascript or modifying the lightbox template. I am going to look into it and most probably add some filter to automate in next release.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 8
    wpdev on #14361

    Thanks a lot. Appreciate it.

  • Participant
    Level: Initiated
    Posts: 8
    wpdev on #14362

    I tried updating the mentioned line of code. After update of code, do we have to follow any steps. As after updating code, i made sure, in settings ‘original’ is selected. But lightbox is behaving same as earlier.

    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24645
    Brajesh Singh on #14377

    Hi,
    Can you please right click on the image and open it in new tab and then see if it is original or the resized one?

    It might be showing the scaled version dues to lightbox css. Please check and let me know.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 8
    wpdev on #14379

    Hi,
    When i use right click it opens the gallery in which image is in original size. Please let me know if you need any further details.

    Thanks,

  • Keymaster
    (BuddyDev Team)
    Posts: 24645
    Brajesh Singh on #14741

    Sorry for the delayed reply.
    Have just released the 1.3.6 with this change. Can you please give that a try and se eif it works for you.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 8
    wpdev on #16964

    Hello Brajesh,

    Apologies for delayed response. I updated the latest version. Behaviour is the same. I checked, correct me if wrong, believe this is due to the size limitation of the lightbox media container width/height.

    Thanks a lot,

  • Keymaster
    (BuddyDev Team)
    Posts: 24645
    Brajesh Singh on #16982

    Hi,
    It is most probably css now. The lightbox supports using full size image but our css constraints it to a maximum width of 920px with max 520px for the image.

    You may use css and change the lightbox to your need.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 8
    wpdev on #16986

    Thanks for the response.
    Closing the thread

The topic ‘ [Resolved] Mediapress lighbox image size’ is closed to new replies.

This topic is: resolved