[LON-CAPA-users] Image visibility for students

Mills, Douglas G dmills at illinois.edu
Mon Apr 16 14:06:55 EDT 2012


It may not be related to the problem you're experiencing, but having spaces
in file or directory names which become part of URLs can and does sometimes
lead to unpredictable consequences... I would try eliminating the spaces in
the names just in case that makes a difference.

Doug


On 4/16/12 12:59 PM, "William Paddock" <Paddock_WA at elps.k12.mi.us> wrote:

> Thanks Ray.  It appears that the "allow" was added during the publication
> process.  Here is the code of the problem...
> 
> <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">
> </textline>
> </stringresponse>
> <allow 
> src="/res/author/Paddock_Wa/ChemistryLibrary/OrganicChem/MultiChoice25/ch 25
> images/f1q103g1.jpg" />
> </problem>
> 
> 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...
> 
> res/author/Paddock_Wa/ChemistryLibrary/OrganicChem/MultiChoice25/MultiChoice25
> /question_103.problem
> 
> and an image...
> 
> res/author/Paddock_Wa/ChemistryLibrary/OrganicChem/MultiChoice25/ch 25
> images/f1q103g1.jpg
> 
> Both are published under...
> 
> /res/author/Paddock_Wa/ChemistryLibrary/BLBcopyright.rights
> 
> 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
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
> 
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users


Doug

Douglas Mills
Director of Instructional Technologies
Department of Chemistry
University of Illinois
dmills at illinois.edu
(217) 244-5739 




More information about the LON-CAPA-users mailing list