Hi,
When I set any content in the label property of a DBImage component, I get a runtime error in spdbimage "undefined $ocl".
I checked against other components type sources and found that spdbimage do not initialize a value for $ocl.
I copied the missing init code form spdblabel and inserted in __render() function spdbimage.db, just before the error line :
$orr= $this->form->orientation;
if($orr=='orhorizontal') {
$ocl='control-label';
} else {
$ocl='';
}And it works...
Regards,