$(document).ready(function() {
$( ".MessageBodyCell1 img" ).not('.MessageSignature img').each(function(){
$( this ).bind ("click",function(){ jQuery.facebox({ image: $( this ).attr("src")});});
});
.MessageBodyCell1 img { max-height: 500px; max-width: 600px; cursor: pointer; }
<style type="text/css"> .MessageBodyCell1 img { max-height: 500px; max-width: 600px; cursor: pointer; } </style> <script type="text/javascript"> $(document).ready(function(){ $( ".MessageBodyCell1 img" ).not('.MessageSignature img').each(function(){ $( this ).bind ("click",function(){ jQuery.facebox({ image: $( this ).attr("src")});}); }); }); </script> <!-- ******************************************** Add this to your code box (in a free form text/HTML type content box). It will hide itself ******************************************** --> <div class="hideThisWidget"></div> <script type="text/javascript"> $(document).ready(function(){ $('.hideThisWidget').closest('.gpWidget').hide(); }) </script>
<a href="http://location-of-my-image/myimage.jpg" target="_blank"> <img src="http://location-of-my-image/myimage.jpg" alt=""> </a>
$( ".MessageBodyCell1 img" ).not('.MessageSignature img').each(function(){ $( this ).bind ("click",function(){ jQuery.facebox({ image: $( this ).attr("src")});}); });
<style type="text/css"> .tooltip, .preview, .screenshot { cursor:pointer; } #tooltip, #tooltip2, #preview, #screenshot { color:#dddddd; background:#222222; border: 1px solid #333333; padding:5px; display:none; opacity: 0.9; filter: alpha(opacity=90); text-align:left; border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; } </style> <script src="http://www.axiomfiles.com/Files/258012/tooltip.js" type="text/javascript"></script>