diff --git a/public_html/templates/post-content.tpl b/public_html/templates/post-content.tpl index ae38acc6..ec2f461a 100644 --- a/public_html/templates/post-content.tpl +++ b/public_html/templates/post-content.tpl @@ -5,10 +5,9 @@ if (post.contentType === 'image' || post.contentType === 'animation' || post.contentType === 'flash') { width = post.imageWidth; height = post.imageHeight; - } else { - width = 800; - height = 450; } + if (!width) { width = 800; } + if (!height) { height = 450; } %>