-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
attachments/images preview/thumbnails download #111
Comments
Hey @csaket, it is possible to pull the thumbnails along with files. Biggest question is - where to pull those thumbnails to? Could you tell more about "thumbnails are broken and do not display":
|
Hi. I am using the slack-export-viewer to view the export. Showing a fragment of the message json with annotations
The browser blocks these thumbnails from displaying with a CORB error |
Thanks @csaket , I will have a look. Last time I experimented with slack-export-viewer I noticed that it doesn't allow to download files, even if the file link is pointing to them. In scope of this request I think at least the following should be completed 100%:
The other problem is displaying the files in slack-export-viewer, I can see that there could be 2 possible solutions:
I also suggest for scope of this ticket that we switch to mattermost format as the default one. I quite like it in a sense that all the thumbnails can be downloaded to the directory, along with the original file. I.e., if there is a file with ID FABCD123 and name "file.jpg", and "file_thumb_360.jpg" would be it's thumbnail thy both can be placed to the following directory within the export structure:
|
Found an alternative viewer that I have been able to modify and display the downloaded images inline. |
Thanks for the update, @csaket - did you use the "standard" format or "mattermost" with the slack_viewer? |
@rusq - I have been using the same export from slackdump from the start so I guess that is the standard format. |
+1 for the requested feature! Just playing around with the tool. I see that in "standard" mode the images are tried to be loaded from (using slack-export-viewer.exe) and get 404. When I export in mattermost mode the original URLs to files.slack.com are preserved but not loaded with the viewer due to CORS. I'd also like to get a FULL offline copy including all the attachments and everything. Commandlines used to create the dumps: View via: |
@OevreFlataeker thanks for the feedback, I'll see what I can do. I just want to mention that export files are already FULL, if you enable file download, all files are getting downloaded into |
Thanks for pointing that out! Those suggestions in #111 (comment) look great! Hope you can get it working! Thanks! |
Is the safest bet to use standard, in hopes that this milestone may lead to a simple way to view attachments in old exports? Is there a fork of a viewer anywhere that allows the attachments to load. I am just wondering what I should be using today, to make this easiest down the road. |
I couldn't get this viewer working. What kind of modification do I need to do? |
Great news, slackdump v3 has a built in viewer that displays the images.
|
Is your feature request related to a problem? Please describe.
Thumbnails for images in channels etc are not downloaded and instead refer to the original thumbnail on slack.
Due to this when viewing the messages in the group, the thumbnails are broken and do not display due to CORB issues and mimetype issues.
Additionally, expecting an archival tool to pull down all such assets or at least have an option for the same.
Pretty soon my company is moving away from slack and so we won't have access to the original images etc.
Describe the solution you'd like
Download thumbnails as well just like the actual images/attachments.
The text was updated successfully, but these errors were encountered: