[LON-CAPA-users] Can't display images
Todd Ruskell
lon-capa-users@mail.lon-capa.org
Fri, 2 Sep 2005 10:20:03 -0600
OK,
I've gotten a bit more info on this. After one of the students disabled his
Norton firewall, he could see the images. This triggered a memory about
graphics and port 8080. Does LON-CAPA still use this port for some graphics?
Could that be this student's problem?
Thanks,
Todd
On Monday 29 August 2005 11:12 pm, Guy Albertelli II wrote:
> Hi Todd,
>
> > Seems like I've seen this one before, but can't find the answer just now.
> > I've got at least 2 students who say they can view problems, etc. but
> > can't view the associated images. Any ideas?
>
> This is usually because of missing or incorrect <allow>s in the
> associated problem. Most usually because the problem use variable
> images.
>
> If you do
>
> <img src="/res/domain/author/$imagename.jpg" />
>
> where $imagename could be either "a" "b" or "c"
>
> You need to make sure you have in the problem
>
> <allow src="/res/domain/author/a.jpg" />
> <allow src="/res/domain/author/b.jpg" />
> <allow src="/res/domain/author/c.jpg" />
>
> or
>
> <allow src="/res/domain/author/*.jpg" />
--
Dr. Todd Ruskell
Lecturer, Department of Physics Office: Meyer Hall 326
Colorado School of Mines Phone: 303-384-2080
1523 Illinois Street Fax: 303-273-3919
Golden, CO 80401