Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-35729

Let repository plugin generate file preview for external files

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Enable EQUELLA repository
      2. Go to user private files, pick an image from EQUELLA repository using filepicker
      3. Click the added the file see if preview appears
      4. Replace the picked image in EQUELLA
      5. wait until the preview cache expires or simple delete them
      6. Go to user private files, click the image to see if preview changes
      7. Pick an word doc from EQUELLA repository using filepicker
      8. Click the added file see if the word icon appears

      Also developer please check the generated preview in file pool (by looking for the content hash in DB)

      Show
      Enable EQUELLA repository Go to user private files, pick an image from EQUELLA repository using filepicker Click the added the file see if preview appears Replace the picked image in EQUELLA wait until the preview cache expires or simple delete them Go to user private files, click the image to see if preview changes Pick an word doc from EQUELLA repository using filepicker Click the added file see if the word icon appears Also developer please check the generated preview in file pool (by looking for the content hash in DB)
    • Affected Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      dev_MDL-35729_repository_preview

      Description

      Currently, moodle try to download entire image files from external repositories to generate preview pictures, there are two major issues:

      1. The image could be huge, such as map/design
      2. Moodle currently only generate preview pictures for image, external repository might have preview for video/pdf/word docs/auto cad file, but moodle is not using them

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: