diff --git a/js/components/ascribe_accordion_list/accordion_list_item.js b/js/components/ascribe_accordion_list/accordion_list_item.js
index 00235d96..96fe619c 100644
--- a/js/components/ascribe_accordion_list/accordion_list_item.js
+++ b/js/components/ascribe_accordion_list/accordion_list_item.js
@@ -155,7 +155,7 @@ let AccordionListItem = React.createClass({
-
+
diff --git a/js/components/ascribe_detail/edition_container.js b/js/components/ascribe_detail/edition_container.js
index 15086434..89105086 100644
--- a/js/components/ascribe_detail/edition_container.js
+++ b/js/components/ascribe_detail/edition_container.js
@@ -27,6 +27,11 @@ let EditionContainer = React.createClass({
let timerId = window.setInterval(() => EditionActions.fetchOne(this.props.params.editionId), 10000);
this.setState({timerId: timerId});
}
+ let thumbnail = state.edition.thumbnail;
+ if (state.edition.digital_work.mime === 'image' && typeof isEncoding === 'number' && isEncoding !== 100 && !this.state.timerId) {
+ let timerId = window.setInterval(() => EditionActions.fetchOne(this.props.params.editionId), 10000);
+ this.setState({timerId: timerId});
+ }
},
componentDidMount() {
diff --git a/js/components/ascribe_detail/media_container.js b/js/components/ascribe_detail/media_container.js
index f7ed5cfc..6bf58a9c 100644
--- a/js/components/ascribe_detail/media_container.js
+++ b/js/components/ascribe_detail/media_container.js
@@ -18,7 +18,8 @@ let MediaContainer = React.createClass({
},
render() {
- let thumbnail = this.props.content.thumbnail;
+ let thumbnail = this.props.content.thumbnail.thumbnail_sizes && this.props.content.thumbnail.thumbnail_sizes['600x600'] ?
+ this.props.content.thumbnail.thumbnail_sizes['600x600'] : this.props.content.thumbnail.url_safe;
let mimetype = this.props.content.digital_work.mime;
let embed = null;
let extraData = null;
diff --git a/sass/ascribe_accordion_list.scss b/sass/ascribe_accordion_list.scss
index 1b682735..3d5d071c 100644
--- a/sass/ascribe_accordion_list.scss
+++ b/sass/ascribe_accordion_list.scss
@@ -32,6 +32,7 @@ $ascribe-accordion-list-font: 'Source Sans Pro';
height: 110px;
padding:0;
cursor: pointer;
+ text-align: center;
img {
max-width: 100%;
max-height: 100%;