How to enforce one image per post rule?

(OG) #1

I’ve got troubles with number of pretty large images uploaded to single post, what leads to slow loading of post chunks… I’d like to solve it with one image (upload) per post…

Can you more experienced devs please advise how to enforce this most cleanly?

I know that there is similar mechanism for trust_level_0 users… newuser_max_images
Would it be wise to use and extend it?

(Régis Hanol) #2

I would build a plugin to add such limitations. Let us know if we’re missing some hooks.

(OG) #3

Let me check… I was waiting till I find if anyone has some info or findings (or plugin ready :slight_smile: ) before I dig deep into it :)… I’ll let you know.