I get errors like the following when I try to view a problem with an image...
------
The macro alias cannot create a link from |/opt/webwork/webwork2/htdocs/tmp/AP_Physics_1/img/cc964cea-666d-346c-b3b7-005b8b36f097___b7efa9d7-83fe-39e8-b78c-bca83fce5daa.jpg| to |/opt/webwork/courses/AP_Physics_1/templates/Library/webwork_custom/problems/test_directory/test.jpg|.
------
The macro alias was unable to form a URL for some auxiliary file used in this problem.
In my Apache error log I see this..
Use of uninitialized value $imageURL in concatenation (.) or string at (eval 2431) line 2569.
Here is the problem file..
DOCUMENT();
loadMacros(
"MathObjects.pl",
"PGstandard.pl",
"PGML.pl",
"PGcourse.pl",
"parserNumberWithUnits.pl",
"contextArbitraryString.pl",
"parserMultiAnswer.pl",
"parserPopUp.pl",
);
TEXT(beginproblem());
$showPartialCorrectAnswers = 1;
######################################################################
Context("Numeric") ; Context()->flags->set(tolerance => 0.01);
BEGIN_PGML
This is a test.
[@ image("test.jpg",
width=>414,height=>257,tex_size=>480) @]*
[________________________]{"4"}
END_PGML
######################################################################
ENDDOCUMENT();