Request: images in posts visible for registered users (or min tl) only

Hey guys

Is there a way to prevent non-registered users to see images in posts?
Lot of typical forums bring this feature with them.
I searched in discourse admin settings, but could not find such an option.
I only could find one to prevent attachment downloads.

We have no plans for this, and it has never been requested until now.

Yes, if hiding them with css is good enough for you, you can do it like this.

.anon .cooked img {
  display: none;
}
3 إعجابات

I tried and it does work.
It also hides avatars in quotes, images in oneboxes and emoji, but I guess if the idea is to give a reduced experience to non-registered visitors (i.e. anons) then it fills the bill.

أنا أحاول إنشاء منتدى نقاش في مدرسة عامة في ألمانيا.
ولأي جهود من هذا القبيل، سيكون من الرائع منح المستخدمين خيار استبدال صورهم الرمزية برموز للمشاهدين غير المسجلين، أو تقييد نشر وجوههم على مجموعات معينة فقط.