WP-SimpleViewer » How-to and Troubleshooting

Thickbox size

(2 posts)

  1. Rotten
    Member

    Hi Markus.

    First I have to congratulate you for the plugin. It's very useful.

    It's posible to resize the thickbox when, in a page, you add a linked gallery like

    [wp-simpleviewer gallery="Gallery_Name" link="Gallery Name"] I'm using that feature, but thickbox is greater than browser screen, and it's giving some issues to me.

    Thanks in advance for you help.

    Rotten

    Posted 1 year ago #
  2. Yes, you can resize it, but for now only if you edit the code. Go to line 196 in wp-simpleviewer.php:
    return '<a href="'.get_option('siteurl').'/?svgallery='.attribute_escape($options['name']).'&keepThis=true&TB_iframe=true&height=700&width=900" class="thickbox wp-simpleviewer_gallery_link">'.attribute_escape($options['link']).'</a>';

    and change the height and width there.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.