Hi everybody,
little problem…
I have created a field “HTML Image” in a grid and I’d like to fill in an image
on onrecord
chdir(‘C:\AlfaGest\Immagini’);
$img = trim({Art.Codice_Articolo}) . ‘_1.JPG’;
if (file_exists($img)) {
[myimage] = file_get_contents($img);
// image isn't filled in field Image
// I'd like to use it because the image is positioned in the right place according with SC settings
{Image} = [myimage];
// this work
// the image is positioned at the begin of page
echo '<img align="left" width="510" src="data:image/jpg;base64,' . base64_encode( [myimage] ) . '" />';
}