Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

the size for picture

hi, i want to ask, how to make the pictures that u add for the level, have the same size with the original size of the picture?

asked Apr 29, 2019 by anonymous

1 Answer

+1 vote
There are at least two things you can do here.

(1) You can use an image for a level and you can specify the pixel height and width of that image. For example: <img src="[% GraphicsPath()%]smiley.gif" alt="Smiley face" height="42" width="42"> But if that doesn't work for you because the image is larger than the available space in the discrete choice table, then you may want to use option 2.

(2) This option presents a thumbnail image which, when you click on it, opens up a larger image in a modal window which expands to fill the available space on the user's device. To use this option, go to https://www.sawtoothsoftware.com/question-library and download the Image Popup module. Then load that zip file into the Question Library of Lighthouse Studio. Follow the instructions on the download page on how to implement it.
answered May 1, 2019 by Nathan Bryce Silver Sawtooth Software, Inc. (9,380 points)