Please Log in or Create an account to join the conversation.
'<a href="#" data-jj-image="$1" data-jj-image-alt="$2" class="jj-image-modal hasPopover" data-html="true" data-original-title="<img src=\'$1\' alt=\'$2\' />" data-content="$2" onclick="JJShoutbox.imageModalWrapper(event, this)">$2<img src="$1" class="jj-image-inline" alt="$2" /></a>',
jQuery('.jj-image-modal.hasPopover').popover({trigger:"hover"});
$('.jj-image-modal.hasPopover').popover({trigger:"hover"});
.jj-image-inline{max-height:36px!important;width:auto;margin:0 5px;}
.jjshoutbox .popover img{max-height:unset!important;}
.jj-image-modal img{vertical-align: middle;}
$preview = ($this->params->get('preview', 0)); $popover = ($preview) ? ($this->params->get('popover', 0)) : 0; '<a href="#" data-jj-image="$1" data-jj-image-alt="$2" class="jj-image-modal'.($popover ? ' hasPopover" data-html="true" data-original-title="<img src=\'$1\' alt=\'$2\' />" data-content="$2"' : '"').' onclick="JJShoutbox.imageModalWrapper(event, this)">$2'.($preview ? '<img src="$1" class="jj-image-inline" alt="$2" />' : '').'</a>',
<field name="preview" type="jjradio" class="switcher" default="1" label="Image Preview" > <option value="0">JNO</option><option value="0">JYES</option></field> <field name="popover" type="jjradio" showon="preview:1" class="switcher" default="1" label="Preview Popover"> <option value="0">JNO</option><option value="0">JYES</option></field>