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

Since 1.5.0 thumbnails are not generated properly #127

Closed
StigZord opened this issue Nov 2, 2015 · 4 comments
Closed

Since 1.5.0 thumbnails are not generated properly #127

StigZord opened this issue Nov 2, 2015 · 4 comments
Assignees
Labels

Comments

@StigZord
Copy link

StigZord commented Nov 2, 2015

Since 1.5.0 thumbnails are not generated properly for me (in v1.4.4 it works fine).
Using file explorer I can see that in theory thumbnails name_fact_1.jpg and name_fact_2.jpg are generated but both size is 0 Bytes, and can't be opened. Original picture is generated as it should tho.

Also this code:

    @Override
    public void onImageChosen(ChosenImage chosenImage) {
        photoFilePath = chosenImage.getFilePathOriginal();
        photoThumbnailPath = chosenImage.getFileThumbnailSmall();

        Log.d(TAG, "filePath: "+photoFilePath);
        Log.d(TAG, "photoThumbnailPath: "+photoThumbnailPath);
    }

will log this:

TAG: filePath: /storage/emulated/0/folder/1446494059426.jpg
TAG: photoThumbnailPath: /storage/emulated/0/folder/1446494059426.jpg

On the other hand in version 1.4.4 as I mentioned it works fine, thumbnails are generated and path is returned to the thumbnail as it should.

If something is not clear in my explanation or u need any more details let me know.
Cheers!

@coomar2841
Copy link
Owner

Thanks. I am aware of it. Looking into this issue.

@coomar2841 coomar2841 added the bug label Nov 3, 2015
@coomar2841 coomar2841 self-assigned this Nov 3, 2015
@coomar2841
Copy link
Owner

Can you try 1.5.1 once? This actually happens for only some files. Not sure, but still digging into this.

@StigZord
Copy link
Author

StigZord commented Nov 7, 2015

Actually I already tried it on both 1.5.1 and 1.5.0... it works on 1.4.4 tho.
Not sure if it will be of any help, but I'm picking pretty big .jpg photos over 3.5MB, and it didn't work for any of this photos.

@coomar2841
Copy link
Owner

The latest release should fix this issue.

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

No branches or pull requests

2 participants