Skip to content
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

Broken example archive #49

Closed
btzr-io opened this issue Oct 18, 2019 · 2 comments
Closed

Broken example archive #49

btzr-io opened this issue Oct 18, 2019 · 2 comments

Comments

@btzr-io
Copy link
Owner

btzr-io commented Oct 18, 2019

The example archive included breaks the viewer when navigating from pages.

I suspect it contains corrupted images or unsupported format?

message: "Error loading image at blob:http://localhost:8080/2df85bc3-6f11-406e-9345-399c101a6bc0"

Also we should handle better this error: #37

Update

Well the issue appears to be related to this folder inside the archive: __MACOSX/

All files contained in there had a valid extension name (png, jpg...) but invalid names (._Name), also from what I understand they are not real images so they will be handled as corrupted:

Exampe.zip
--- ._Clouds.jpg
--- ._Sunset.jpg
--- ... 

So not sure if there is a way to ignore it?

@btzr-io
Copy link
Owner Author

btzr-io commented Oct 18, 2019

@TimeTerminal Any ideas?

@TimeTerminal
Copy link
Contributor

Looks like it was the MacOS compression for zipping files. While on a Mac I didn't see a problem, switching to a Windows machine broke it. Creating a PR with a replacement archive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants