diff --git a/gatsby/src/templates/gallery-image.js b/gatsby/src/templates/gallery-image.js
index accf428..d8cdfca 100644
--- a/gatsby/src/templates/gallery-image.js
+++ b/gatsby/src/templates/gallery-image.js
@@ -6,27 +6,40 @@ import { Helmet } from "react-helmet";
const GalleryImage = ({ pageContext, data }) => {
const image = data.allFile.edges[0].node
- console.log(getMeta(image));
+ const ar = image.childImageSharp.fluid.aspectRatio;
+ console.log(ar);
+ // const imageStyle = {}
+ // if (ar > 1) {
+ // imageStyle.width = '90vw'
+ // } else {
+ // imageStyle.height = '90vh'
+ // }
+
const name = getName(image);
return (<>
-
{getMeta(image).iptc.caption}
+{getMeta(image).iptc.caption}
+