ipfs / ipfs-webui

A frontend for an IPFS Kubo and IPFS Desktop
https://webui.ipfs.io
MIT License
1.53k stars 474 forks source link

File previews not working in Explore section #1368

Open bajtos opened 4 years ago

bajtos commented 4 years ago

Steps to reproduce

  1. Launch ipfs-desktop
  2. Open "Explore" section
  3. Go to "XKCD" sample
  4. Open one of the entries, e.g. 10 - Pi Equals
  5. Open the image entry, e.g. 10 - Pi Equals.png

Actual outcome

Preview is not available. User has to view the image via IPFS gateway link provided by the app (e.g. http://127.0.0.1:8080/ipfs/QmbvrHYWXAU1BuxMPNRtfeF4DS2oPmo5hat7ocqAkNPr74).

Screenshot:

ipfs-desktop-screenshot

Expected outcome

Image preview is displayed in the app.

Mockup:

ipfs-desktop-mockup

Additional information

hacdias commented 4 years ago

The File Preview is for the Files section and not the Explore section. They are not supposed to work on Explore. This would be a new feature. I'm moving this to IPFS Web UI repository, but as far as I know, there is no intention to implement this on the Explore section.