Simple Machines Community Forum

SMF Development => Feature Requests => Applied or Declined Requests => Aiheen aloitti: triforcemario - elokuu 02, 2007, 03:36:36 IP

Otsikko: Image limit per-post.
Kirjoitti: triforcemario - elokuu 02, 2007, 03:36:36 IP
I've had an idea that would more than likely benefit every forum using SMF in a big way. By adding an image limit per-post (for example, the admin can choose how many images can be posted in a single post). The benefits from this could help reduce spam and image flooding, which both can slow down the entire forum, and in some cases, make it crash.
Otsikko: Re: Image limit per-post.
Kirjoitti: Peter Duggan - elokuu 02, 2007, 03:46:56 IP
Otsikko: Re: Image limit per-post.
Kirjoitti: triforcemario - elokuu 02, 2007, 04:18:10 IP
...Ouch, the obvious never occures to me until the last minute >_<

I really need to start sleeping more.

Still, if one has an limit size limit of, say, 640x480, that itself would reduse the size of the file, would it not?
Otsikko: Re: Image limit per-post.
Kirjoitti: Peter Duggan - elokuu 02, 2007, 04:23:40 IP
Lainaus käyttäjältä: triforcemario - elokuu 02, 2007, 04:18:10 IP
Still, if one has an limit size limit of, say, 640x480, that itself would reduse the size of the file, would it not?

Nope, because folk's ideas of 'optimisation' equate to significantly different levels of compression (or lack of it!) and you can also force down the pixel size of an image through HTML/BBC without affecting its byte size.

So you can set limits to both number of attachments and attachment file size, but limiting what can be posted with the img tag (short of removing it altogether) is a different kettle of fish.