Black Studio TinyMCE Widget
[resolved] Images in 'Lightbox' in browser. (3 posts)

  1. eternumviti
    Posted 3 years ago #

    Using widget to upload images and text into sidebar.

    Formerly when I clicked on the image it would appear on my (Firefox) browser against a dark grey background at full uploaded size. Clicking on an image now opens a gallery of random images from my uploaded media file. Some of these are not relevant to the specific page.

    How can I revert to the lightbox image?

    Clicking on an image uploaded to the page (rather than the sidebar) still gives the lighbox version.

    Examples below



    With thanks


  2. Marco Chiesi
    Plugin Author

    Posted 3 years ago #

    I think the issue you reported is not strictly related to the widget. You should pay attention to how you set the link when inserting an image in a widget. It looks like you are linking the image to the attachment page instead of the direct link to the media file (it's an option in the new media library interface).
    Moreover the lightobx effect is usually applied by some plugin or by the theme, so you should ensure that everything is properly configured. Sometimes you should explicitely add a class or rel attribute to the a tag in order to trigger the lightbox effect. Specifically, since you are using the U-Design theme, it should be sufficient to add a rel="wp-prettyPhoto" to the a tag inside the widget (this can be achieved via html source code or even visually in the Advanced panel of the Edit image dialog).

  3. eternumviti
    Posted 3 years ago #

    OK Marco, got it. All sorted.

    Many thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Black Studio TinyMCE Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.