papaver
10-29-2012, 09:28 PM
1) Script Title: Thumbnailviewer2
2) Script URL (on DD):
3) Describe problem: flexible loadarea-div
I need a flexible loadarea-div (max-width: 800px, max-height: 600px)
The loadarea is currently set to 600px. Images that are wider than 600 pixels overlay the next div (Info thumbnailtext). How can I adjust the Thumbnail Viewer, which displays the image (only) in the loadarea-div (possibly be cut)
<div class="image_50_50">
<?php
$images = rwmb_meta( 'metabox_screenshot2', 'type=plupload_image' );
foreach ( $images as $image )
{
echo "<a class='fancybox' rel='enlargeimage' rev='targetdiv:loadarea,trigger:mouseover' href='{$image['full_url']}' }'><img src='{$image['url']}' width='50' height='50' alt='{$image['alt']}' /></a>";
}
?>
</div><!--*image_50_50-->
<div class="image_cat">
<div id="loadarea" style="max-width: 600px;"></div>
<br class="clearfix" />
</div><!--*image_cat-->
Thanks so much!
petra
2) Script URL (on DD):
3) Describe problem: flexible loadarea-div
I need a flexible loadarea-div (max-width: 800px, max-height: 600px)
The loadarea is currently set to 600px. Images that are wider than 600 pixels overlay the next div (Info thumbnailtext). How can I adjust the Thumbnail Viewer, which displays the image (only) in the loadarea-div (possibly be cut)
<div class="image_50_50">
<?php
$images = rwmb_meta( 'metabox_screenshot2', 'type=plupload_image' );
foreach ( $images as $image )
{
echo "<a class='fancybox' rel='enlargeimage' rev='targetdiv:loadarea,trigger:mouseover' href='{$image['full_url']}' }'><img src='{$image['url']}' width='50' height='50' alt='{$image['alt']}' /></a>";
}
?>
</div><!--*image_50_50-->
<div class="image_cat">
<div id="loadarea" style="max-width: 600px;"></div>
<br class="clearfix" />
</div><!--*image_cat-->
Thanks so much!
petra