diff --git a/src/components/flamelink/FlameLinkCollectionGallery.js b/src/components/flamelink/FlameLinkCollectionGallery.js index 323b575..eb0f8ed 100644 --- a/src/components/flamelink/FlameLinkCollectionGallery.js +++ b/src/components/flamelink/FlameLinkCollectionGallery.js @@ -16,14 +16,28 @@ const styles = theme => ({ }, flamelinkGallery: { - marginRight: "auto", - marginLeft: "auto", + marginRight: 'auto', + marginLeft: 'auto', + backgroundImage: 'url(../images/galleryBackgroundImage.png)', + overflow: 'hidden', + minHeight: 180, + minWidth: 300, + width: 'auto', + height: 'auto', }, flamelinkGalleryContainer: { backgroundColor: 'black', marginTop: 20, }, + flamelinkGalleryInnerContainer: { + maxHeight: 1000, + minHeight: 180, + height: 'auto', + width: 'auto', + marginRight: 'auto', + marginLeft: 'auto', + }, }); class FlameLinkCollectionGallery extends Component { @@ -51,7 +65,7 @@ class FlameLinkCollectionGallery extends Component { schemaDetails: '', schemaContent: '', schemaDescription: '', - } + }; flamelinkApp.schemas.getFields(this.props.galleryName, { fields: ['title', 'key', 'type', 'gridColumns', 'description', 'options'] }) .then(result => this.setState({ @@ -111,8 +125,12 @@ class FlameLinkCollectionGallery extends Component { {this.state.schemaDescription} - - + + +
+ +
+
diff --git a/src/components/flamelink/RenderGallery.js b/src/components/flamelink/RenderGallery.js index 840dc29..7f98e70 100644 --- a/src/components/flamelink/RenderGallery.js +++ b/src/components/flamelink/RenderGallery.js @@ -9,9 +9,9 @@ class RenderGallery extends Component { this.state = { showThumbnails: false, - showIndex: true, - showBullets: true, mounted: false, + autoPlay: true, + slideInterval: 6000, } } @@ -28,9 +28,9 @@ class RenderGallery extends Component { ); } diff --git a/src/images/galleryBackgroundImage.png b/src/images/galleryBackgroundImage.png new file mode 100644 index 0000000..7e9bebc Binary files /dev/null and b/src/images/galleryBackgroundImage.png differ