Timeline activity not displaying pictures

eddbolton's picture

I wanted to check if there is a know bug with the timeline activity?  i am attempting to add images from Flickr and wikipedia and they are only showing the URL and not the picture.  here is an example https://h5p.org/node/1192350 

  1. Detailed steps to reproduce the bug (exactly how and when did it happen)  i copy and pasted links from both Wikipedia and flickr into the URL field of the Timeline tool and the images do no render  instead the URL is displayed 
  2. Platform and version number. Moodle 3.9 and H5P.org 
  3. Desktop
  4. Browser: Chrome, Opera, Safari
  5. H5P plugin version: don't know, but as i have tested this on H5P.org i am assuming current 
  6. H5P content type and version:  Timeline, Current 
  7. Any browser console errors  None
  8. Any PHP errors None
  9. Screenshots if it's a visual problem: go to link 
  10. Any recent changes to the environment (new plugins/modules, updates, configuration changes etc.) none that i know of 
  11. Any recent changes to the browser you're using (new extensions, updates etc.) none that i know of 
Content types: 
BV52's picture

Hi eddbolton,

This is no bug, you are linking to a webpage that contains a photo instead of the webpage of the photos. Below are the steps to make this work:

Wikipedia:

  1. Click on the image in Wikipedia e.g. https://en.wikipedia.org/wiki/Citigroup_Center#/media/File:Citigroup_cen...
  2. Click it again (magnifying glass). e.g. https://upload.wikimedia.org/wikipedia/commons/1/12/Citigroup_center.jpg
  3. Copy the URL
  4. Paste the link in Timeline

Flickr:

  1. Click "download this photo"
  2. Click "view all sizes"
  3. Right click on the link beside "download". The text depneds on the which resolution was chosen e.g. "Download the Original size of this photo".
  4. Click "Copy link address".
  5. Paste the link in Timeline

Note: Flick images can only be used if they are set to be viewed publicly and download is enabled by the owner.

You can check my sample content here.

-BV