• Resolved mnohtm

    (@mnohtm)


    HI

    Is it possible to have the lightbox it show only the picture and not the buddypress user comment? I just wanted to show the picture in the whole lightbox.

    Thank you for all your help.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Brajesh Singh

    (@sbrajesh)

    Hi,
    Thank you for using MediaPress.

    At the moment, It is not available out of the box but it can be achieved by template override.

    if you are comfortable with code, Please let me know. I can suggest the wayto override it in your child theme/theme.

    Thank you
    Brajesh

    Thread Starter mnohtm

    (@mnohtm)

    Hi Brajesh
    I am a little comfortable with code… can you suggest the way to override it in my child theme… thank you

    Plugin Author Brajesh Singh

    (@sbrajesh)

    Sorry for the delay.

    1. Please create “mediapress/default/gallery/media/views” directory hierarchy in your theme.

    Now, create a file lightbox-comment.php in the views directory and put this content

    https://pastebin.com/pXCMH58U

    After that, Please visit Dashboard->MediaPress->Settings and select the “Original” size for the lightbox.

    You may need to modify the css a bit to make it look better.

    Hope that helps.

    Regards
    Brajesh

    Thread Starter mnohtm

    (@mnohtm)

    Hi
    I tried this but it did not work… after we made the changes you said we did not see where to select “original size for the lightbox” also when we click on image it does not open lightbox…so we removed the code u sent… any other idea?
    or do you know if we can edit it directly in the file and what file will it be in?
    Thank you for all your help.

    Plugin Author Brajesh Singh

    (@sbrajesh)

    Hi,
    I am sorry for the delayed reply. I am not sure what it is happening.

    We are adding media only lightbox to MediaPress. It will be part of our next release and you can enable it from the MediaPress->Settings->Themes section.

    Regards
    Brajesh

    Plugin Author Brajesh Singh

    (@sbrajesh)

    Hi,
    The option is available now.

    Please remove your custom template file.

    After upgrading to 1.4.3, Please visit MediaPress->Settings->Theme panel and select “Media Only” lightbox.

    Hope that helps.

    Plugin Author Brajesh Singh

    (@sbrajesh)

    Hi,
    I marking it as resolved as we have the option available. Please feel free to reopen if you need any further assistance.

    Regards
    Brajesh

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