Iridescent-CM / curiosity-machine

Curiosity machine application for Iridescent.
3 stars 0 forks source link

Making units resources more prominent #252

Closed stenington closed 7 years ago

stenington commented 9 years ago

In #247 there was a thought to have thumbnails of the pdf files or something like that to make them more prominent on the unit pages.

Cloudinary lets us do this with something like

{% for resource in resources %}
  <li>
    <img src="{% resized resource.file page=1 fetch_format='png' crop='fit' width=200 %}" />
    <a href="{{ resource.file }}" target="_blank">{{resource.link_text}}</a>
  </li>                                                                                     
{% endfor %}                                                                                

although I might write a new templatetag called preview or thumbnail or something that converts PDFs, or falls back to a default image if Cloudinary isn't enabled. Or maybe resized should just be renamed to cloudinary... I'm not sure.

Either way it's technically feasible, should we decide it's worth doing.

stenington commented 9 years ago

And I guess my opinion is that it's worth making the resources more prominent somehow. I had a similar reaction that the text links start to get lost on the page.

stenington commented 9 years ago

Another bit of feedback came from conversations @devincdillon had with Hive people, who suggested breaking down the pdfs by challenge, and presenting the documents attached to the challenges themselves on the units page.

Also offering multi formats for download, including an editable format for educators who want to make tweaks could be good.