Skip to content

Conversation

@goldenapples
Copy link
Contributor

Fixes #318.

Trying to access the thumbnail size when no thumbnail exists causes
console errors and a failure to display attachment preview. This falls
back on using the smallest (by width) attachment size available if there
isn't a "thumbnail" size defined for an attachment.

Trying to access the thumbnail size when no thumbnail exists causes
console errors and failure to display attachment preview. This falls
back on using the smallest (by width) attachment size available if there
isn't a "thumbnail" size defined.
@goldenapples goldenapples changed the title 318 ensure attachment size exists Use the smallest size available for preview if no "thumbnail" attachment size exists May 8, 2015
@danielbachhuber danielbachhuber added this to the v0.4.0 milestone May 11, 2015
danielbachhuber pushed a commit that referenced this pull request May 11, 2015
Use the smallest size available for preview if no "thumbnail" attachment size exists
@danielbachhuber danielbachhuber merged commit 5f6b11f into master May 11, 2015
@danielbachhuber danielbachhuber deleted the 318-ensure-attachment-size-exists branch May 11, 2015 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attachment field incorrectly assumes thumbnail image size exists

3 participants