ZoomEffect has been updated already to support VM3.0.12
instead of using
file_url_thumb or
getFileUrlThumb, it is better to use native method:
$this->product->images[$ImageId]->displayMediaThumb($imageArgs='',$lightbox=true,$effect="class='modal' rel='group'",$return = true,$withDescr = false,$absUrl = false, $width=0,$height=0);
// the clean version of this method is as follow
$this->product->images[$ImageId]->displayMediaThumb('',false,'', true,false,false, 0,0);
// this method will print the thumbnail, if thumbnail is not exist no-image.gif would be printed instead.
So, it won't be necessary to make the if-Statement for
$thumbUrl..
Less code is better coding ;) but thanks for the tip.. Yours might work too.
Regards.