Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Simple Lightbox Plugin NOT Working

Featured Replies

Hello Developers,

I have the latest version of WordPress installed, and I have downloaded and activated the "Simple Lightbox" plugin.

Unfortunately, the linked media files on my WordPress page aren't opening in a lightbox.

This is a custom theme, and I have included <?php wp_head(); ?> in the "header.php" file.

 

PLEASE HELP!

See page: http://www.regalgaming.co.uk/products/awp/

The lightbox isn’t working because you are linking to a different image. The thumbnail and full sized image need to be the same if you want the lightbox to work.

  • Author
17 minutes ago, fisicx said:

The lightbox isn’t working because you are linking to a different image. The thumbnail and full sized image need to be the same if you want the lightbox to work.

Oh, how would I be able to link to a different image? Would a Modal work?

You can open the a different image in a modal but you can't use the plugin for this. It doesn't work the way you want.

I wrote my own code for a project like this. Or you can use one of the many solutions out there. For example: https://sabe.io/tutorials/how-to-create-modal-popup-box

Most of them thought will require some hard coding on the page.

 

 

  • Author

I tried to use the plugin to display a lightbox linking to the same media file and it still doesn't work

It probably a configuration thing

Or a conflict with your custom theme

The plugin works: http://testblog.co.uk/image-with-caption-border/

But it is very clunky.

The one I built is much faster and lighter: https://quick-plugins.com/free-things/ultraslim-image-lightbox/

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.