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

Thumbnail creation before file is ready #4

Open
ComSecNinja opened this issue Jul 4, 2015 · 1 comment
Open

Thumbnail creation before file is ready #4

ComSecNinja opened this issue Jul 4, 2015 · 1 comment

Comments

@ComSecNinja
Copy link
Owner

Manikyr.createThumb tries to call imaging.Open(parentFile) immediately when a new file that should be thumbnailed is created, causing image.ErrFormat. I tried this locally and it seems like waiting for a while fixed this. For production something smarter is required, though.

ComSecNinja added a commit that referenced this issue Jul 4, 2015
Temporary hack to "fix" #4
ComSecNinja added a commit that referenced this issue Jul 4, 2015
Create a function which blocks while waiting for image to be completely created. This is not an optimal solution and issue #4 should be prioritized.
@ComSecNinja
Copy link
Owner Author

Now functional but unreliable. See commits above.

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

1 participant