File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_ImageResponse.tex
Revision 1.3: download - view: text, annotated - select for diffs
Wed Oct 18 22:20:19 2006 UTC (17 years, 8 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_X, version_2_8_99_1, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_X, version_2_5_99_1, version_2_5_99_0, version_2_5_2, version_2_5_1, version_2_5_0, version_2_4_X, version_2_4_99_0, version_2_4_2, version_2_4_1, version_2_4_0, version_2_3_X, version_2_3_99_0, version_2_3_2, version_2_3_1, version_2_3_0, version_2_2_99_1, version_2_2_99_0, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, bz6209-base, bz6209, bz5969, bz2851, PRINT_INCOMPLETE_base, PRINT_INCOMPLETE, HEAD, GCI_3, GCI_2, GCI_1, BZ5971-printing-apage, BZ5434-fox, BZ4492-merge, BZ4492-feature_horizontal_radioresponse
Provide recommendations for image formats to use in click-on-image problems.

\label{Authoring_ImageResponse}

\textbf{imageresponse} implements a image-click answer. \textbf{imageresponse}
tags should contain a \textbf{foilgroup} tag, which contain \textbf{foil}
tags. Each \textbf{foil} tag can contain:

\begin{itemize}
\item \textbf{image}\index{image}: required. The delimited text should
correspond to a published image resource. Example: \texttt{<image>/res/adm/includes/templates/man1.jpg</image>}.
The following image formats are recommended - gif, jpg or png.  Other formats may work, but there may be printing or display issues.
The image should only appear once per foil.
\item \textbf{rectangle}\index{rectangle}: required. The delimited text
specifies a rectangular area that is correct, specified as \texttt{(x1,y1)-(x2,y2)},
where x1, x2, y1, and y2 are number corresponding to the x and y coordinates
of two corners that define a rectangle which specifies where the right
answer for this foil is located on the image. For example, \texttt{(0,0)-(100,200)}
will specify that a rectangle 100 pixels wide and 200 pixels tall,
situated in the upper left of the image, is correct. At least one
rectangle is required; multiple rectangles may be specified.
\item \textbf{text}\index{text}: required. The delimited text is printed
before the image is shown on the screen. This text is typically used
to describe to the student what they are expected to click on.
\end{itemize}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>