WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. eternumviti
    Member
    Posted 1 year 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

    http://blackdogwines.co.uk/growers/france/champagne/veuve-fourny-fils/

    http://blackdogwines.co.uk/growers/france/rhone/le-pigeoulet/

    With thanks

    http://wordpress.org/extend/plugins/black-studio-tinymce-widget/

  2. Marco Chiesi
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year ago #

    OK Marco, got it. All sorted.

    Many thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.