diff --git a/webinterface.py b/webinterface.py
index b8d99418c..c125137ce 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -962,6 +962,13 @@ def htmlNewPost(mediaInstance: bool,translate: {},baseDir: str, \
path=path.split('?')[0]
pathBase=path.replace('/newreport','').replace('/newpost','').replace('/newshare','').replace('/newunlisted','').replace('/newfollowers','').replace('/newdm','')
+ newPostImageSection ='
'
+ newPostImageSection+=' '
+ newPostImageSection+=' '
+ newPostImageSection+=' '
+ newPostImageSection+='
'
+
scopeIcon='scope_public.png'
scopeDescription=translate['Public']
placeholderSubject=translate['Subject or Content Warning (optional)']+'...'
@@ -1104,6 +1111,8 @@ def htmlNewPost(mediaInstance: bool,translate: {},baseDir: str, \
newPostForm+=' '
newPostForm+=' '
newPostForm+=replyStr
+ if mediaInstance and not replyStr:
+ newPostForm+=newPostImageSection
newPostForm+='
'
newPostForm+=' '
newPostForm+=''
@@ -1115,12 +1124,8 @@ def htmlNewPost(mediaInstance: bool,translate: {},baseDir: str, \
messageBoxHeight=100
newPostForm+=' '
newPostForm+=extraFields+dateAndLocation
- newPostForm+=' '
- newPostForm+=' '
- newPostForm+=' '
- newPostForm+=' '
- newPostForm+='
'
+ if not mediaInstance or replyStr:
+ newPostForm+=newPostImageSection
newPostForm+=' '
newPostForm+=''