Show larger picture as hover-over on conditional PERL text

I have a picture that is shown large in a "text" question before the CBC exercise.

In the CBC itself, I use the same picture, but as a hover-over on the attribute label.

I am using PERL, as the text is conditional based on language.

[% Begin Unverified Perl

if(GETVALUE("S1") ==1) {

my $toolTip1 = 'shape of the dough';

my $toolTip2 = '<img src=" ' . GRAPHICSPATH() . 'Open_Shape_DE.png" />';

return TOOLTIP($toolTip1, $toolTip2); }

if(GETVALUE("S1") ==2) {

my $toolTip1 = 'Form des Teigs.';

my $toolTip2 = '<img src=" ' . GRAPHICSPATH() . 'Open_Shape_DE.png"/>';

return TOOLTIP($toolTip1, $toolTip2); }

End Unverified %]

However, the picture that is then shown in the hover-over is very small, and I can't read it.

Is there a way to show it as large as in the "text" question?

1
8 replies