Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Adding Image to a form

edited September 2023 in OpenSesame

So, I suspect that I am missing something obvious. I am trying to add an image to a form and just can't do it. At this point, I am just trying to get an image to display in the form with a next button at the end. My code in the form_base is:

set spacing 10
set rows "1;1"
set only_render no
set margins "50;50;50;50"
set description "A generic form plug-in"
set cols 1
set _theme gray
widget 0 0 1 1 image path="purplel_202.png"
widget 0 1 1 1 button text=Next

The image is in the file pool. However, openseseame keeps giving me the error:

TypeError: 'module' object is not callable

Any suggestions for debugging? If I remove the image line, I can get a next button to appear, so something is going wrong with calling in the image file.

Comments

Sign In or Register to comment.