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

Image Preview does not work with image sizes below "thumbnail" #6

Closed
yuliyang opened this issue Sep 15, 2014 · 1 comment
Closed

Image Preview does not work with image sizes below "thumbnail" #6

yuliyang opened this issue Sep 15, 2014 · 1 comment
Labels

Comments

@yuliyang
Copy link

Image Preview does not work with image sizes below "thumbnail" which is 150px * 150px by wordpress default. Therefore, favicon field in demo does not work.

It will get this error whenever I upload an image below thumbnail size.
images-only.js line 47

url = attachment.get('sizes').thumbnail.url,
Uncaught TypeError: Cannot read property 'url' of undefined 

It should pull original image if there is no thumbnail size.

@ghost ghost added the bug label Sep 15, 2014
@ghost
Copy link

ghost commented Sep 16, 2014

Hi,

We fixed this bug in this release.

Please update and check if everything works fine.

This issue was closed.
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

1 participant