Back to GD bbPress Attachments Forum

Not able to close attachments?

Published on: April 22, 2021 at 1:18 am · By: csgaraglino
Author
Topic
#65776

I have everything working, but when I click to view an attachment, it takes over the whole screen and there is no way to close it.

See this demo URL.

The attachments either need to open in a new tab or at least have a way to close it.

Viewing 1 replies (of 1 total)
Author
Replies
  • #65777

    Hi,

    That’s how the browsers work – when you click on an image, it opens it in the current tab/window. It can’t be close, but the browser back button is working to get back to the original page.

    You can use any Lightbox plugin that will open the image in the current page as an overlay, and my plugin has the option to specify CSS class or REL for that lightbox (it depends on the Lightbox plugin, but usually, REL needs to be set to ‘lightbox’, or in some cases, CSS class has to).

    Regards,
    Milan

    Dev4Press - Premium plugins for WordPress.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.