[LON-CAPA-users] Image visibility for students

William Paddock Paddock_WA at elps.k12.mi.us
Mon Apr 16 13:59:02 EDT 2012

Thanks Ray.  It appears that the "allow" was added during the publication process.  Here is the code of the problem...

    <img width="274" alt="f1q103g1.jpg" src="/res/author/Paddock_Wa/ChemistryLibrary/OrganicChem/MultiChoice25/ch 25 images/f1q103g1.jpg" encrypturl="no" height="176" />
 <startouttext />

<br />What is the name of this compound? <br /><endouttext />
<stringresponse answer="4-propyloctane" id="11" type="ci">
<textline readonly="no">
<allow src="/res/author/Paddock_Wa/ChemistryLibrary/OrganicChem/MultiChoice25/ch 25 images/f1q103g1.jpg" />

Any other ideas??

>>> Raymond Batchelor <batchelo at sfu.ca> 4/16/2012 1:50 PM >>>
Just before the </problem> closing tag, include some <allow /> tags which specify the images you want.

You can select that tag from the colorful "Edit" interface drop lists and insert it at the end of your problem and select the images you want to be "allowed".

----- Original Message -----
From: "William Paddock" <Paddock_WA at elps.k12.mi.us>
To: lon-capa-users at mail.lon-capa.org 
Sent: Monday, 16 April, 2012 09:03:43
Subject: [LON-CAPA-users] Image visibility for students

Hi All,

I have a question about the visibility of published images.  I have some images published using a custom rights file.  When these images are used in a problem I am able to see them inside course coordinator and instructor roles, but I am not able to see the images inside the problem when I switch to student view.  Also, my students are not able to see the images, but they are able to see the problem, even though both are published using the same custom rights file.  As a student the name of the image file shows in the problem, not the image.

Any ideas on how I can get these images visible to students?

Here is an example of a problem...


and an image...

res/author/Paddock_Wa/ChemistryLibrary/OrganicChem/MultiChoice25/ch 25 images/f1q103g1.jpg

Both are published under...


and the problem shows 

rule_rights: 	deny:::course,allow:author::course,allow:elps::course,allow:lsd::course,allow:wmston::course 

The course is in the elps domain.  My user is in the author domain.  All students users are elps domain.

Thanks for any help,

Will Paddock

LON-CAPA-users mailing list
LON-CAPA-users at mail.lon-capa.org 
LON-CAPA-users mailing list
LON-CAPA-users at mail.lon-capa.org 

More information about the LON-CAPA-users mailing list