How to enforce one image per post rule?

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?

1 Like

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

2 Likes

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.

1 Like