• Resolved Versipellis

    (@versipellis)


    I’m using the latest wordpress, buddypress and buddypress media.

    I get the lightbox when viewing from a users media albums, such as wall posts, and from their activity.

    However when I view from the widget, it just sends the page to the user profile. Is the widget supposed to do this or is it meant to be lightboxed? I rather need it lightboxed, so is there a way to do this?

    Also, is there a way to make the max image size larger than 800px wide?

    Regards,

    Versipellis

    https://www.ads-software.com/extend/plugins/buddypress-media/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Saurabh

    (@saurabhshukla)

    Hi,

    The widget is not lightboxed currently. While we’ll add this in the next version, you can add this to the /buddypress-media/app/assets/main.js file of the plugin below this line
    if ( bp_media_vars.lightbox > 0 ) {


    jQuery('.widget-item-listing).on('click','li a',function(e){
    e.preventDefault();
    $current = jQuery(this);
    load_media($current);
    });

    Thread Starter Versipellis

    (@versipellis)

    Thank you this code worked. However it didn’t help with my second question regarding images.
    How do I make my max image size larger than 800px wide?

    Regards,

    Versipellis

    Plugin Contributor Saurabh

    (@saurabhshukla)

    We’ve added support for custom sizes in recent updates. So, now you can define your own sizes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Lightbox issue’ is closed to new replies.