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

AdminImageWidget #485

Open
ivanff opened this issue Feb 28, 2017 · 0 comments
Open

AdminImageWidget #485

ivanff opened this issue Feb 28, 2017 · 0 comments

Comments

@ivanff
Copy link

ivanff commented Feb 28, 2017

**ext = 'JPG'** try: aux_ext = str(value).split('.') if aux_ext[len(aux_ext)-1].lower() == 'png': ext = 'PNG' except Exception as e: pass

_get_thumbnail_filename in ThumbnailBackend use EXTENSIONS dict

EXTENSIONS = { 'JPEG': 'jpg', 'PNG': 'png', }

KEY ERROR!!!

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

No branches or pull requests

1 participant