How to limit the number of image posted by user ?

Hey,

How to limit the number of image posted by user ?

Look at the exemple below. A user posted 13 photos in same actvity post.


http://blog.fansfoot.com/members/ici_flexy/activity/66006/

Thanks

Lamine