AnsweredAssumed Answered

Images sometimes appearing as broken, sometimes not

Question asked by Peter Hess on Oct 19, 2017
Latest reply on Jan 8, 2018 by scottd@instructure.com

Has anyone run into the situation where images in a page sometimes appear as broken (i.e.:) and other times not?  Explanation?

 

The image was first uploaded to "Course Files" and embedded in a page using the image tool.

The HTML looks like this:

<p><img src="https://bostoncollege.instructure.com/courses/1578621/files/64634637/preview" alt="This is an Alt tag" width="500" height="375" data-api-endpoint="https://bostoncollege.instructure.com/api/v1/courses/1578621/files/64634637" data-api-returntype="File" />

 

While we're at it, if someone cares to explain some stuff in the code above,  it would satisfy a long standing curiosity.:

1) what is the function of <... data-api-endpoint="https://.../api/v1/courses/1578621/files/64634637" data-api-returntype="File"/>

2) In the first part of the image tag, if /preview is deleted, it gets replaced by /download.  The functionality doesn't seem to change.

 

Thanks.

Outcomes