aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-05 13:32:32 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit2c081b341b09e734dc8aa9d3fd034477767373bc (patch)
tree0505bbdd15e8e8f469782319c4e4d8a38b81885a
parent688006ed8ef24378d9033879fab12621db551e5a (diff)
fix image preview url
-rw-r--r--vnext/src/components/Message.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/components/Message.js b/vnext/src/components/Message.js
index 509cae42..ae981df6 100644
--- a/vnext/src/components/Message.js
+++ b/vnext/src/components/Message.js
@@ -34,7 +34,7 @@ export default function Message({ data, visitor, children, ...rest }) {
</div>
{data.photo &&
<p className="ir"><a href={`//i.juick.com/p/${data.mid}.${data.attach}`} data-fname={`${data.mid}.${data.attach}`}>
- <img itemProp="image" src={`//i.juick.com/p/${data.mid}.${data.attach}`} alt="" /></a>
+ <img itemProp="image" src={`//i.juick.com/photos-512/${data.mid}.${data.attach}`} alt="" /></a>
</p>
}
<nav className="l">