Thanks for the help.
I’ve found this portion of the mentioned function:
if ($anchor) {
if($width[1] ? $w = $width[1] : $w = ‘auto’);
if($height[1] ? $h = $height[1] : $h = ‘auto’);
# Use popup or not?
if ($sfimage[‘enlarge’] == true) {
$out = ‘<a href=”javascript:void(null)” class=”vtip” title=”‘.sp_text(‘Click image to enlarge’).'” onclick=”spjPopupImage(”.$src[1].”, ”.$w.”, ”.$h.”, ”.$sfimage[‘constrain’].”);” >’;
$out = apply_filters(‘sph_display_image_popup’, $out, $src[1]);
} else {
$out = ‘<a href=”‘.$src[1].'” ‘.$thistitle.’>’;
}
}
This is the HTML its rendering:
onclick=”spjPopupImage(‘http://www.weedwackers.org/ww/wp-content/sp-resources/forum-image-uploads/weedwack/2013/03/IMG_3627.JPG” title=”Click image to enlarge” href=”javascript:void(null)”>
I notice the closing paren for the spjPopupImage function is missing in the HTML… My knowledge of PHP only goes so far. Do you see any issues with the function? improper escape characters? Something I’m missing?
On a side note, I’ve upgraded the simple press plugin to the most recent version to see if that helped… to no avail.