# CMS asset upload limits

**URL:** <https://community.bloomreach.com/t/cms-asset-upload-limits/4419>\
**Category:** Uncategorized\
**Created:** [June 12, 2024, 2:17pm UTC](https://community.bloomreach.com/t/cms-asset-upload-limits/4419 "2024-06-12T14:17:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mateusz\_Ludwin](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/mateusz_ludwin/32/1967_2.png) [@Mateusz\_Ludwin](https://community.bloomreach.com/u/Mateusz_Ludwin)\
**Post date:** [June 12, 2024, 2:17pm UTC](https://community.bloomreach.com/t/cms-asset-upload-limits/4419/1 "2024-06-12T14:17:38Z")

</div>

Is it possible to set a limit for uploaded files depending on the type? For example, a different limit for mp4 files and another for webm?

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [June 12, 2024, 2:20pm UTC](https://community.bloomreach.com/t/cms-asset-upload-limits/4419/2 "2024-06-12T14:20:51Z")

</div>

This is not possible ootb. In theory you could implement such a feature yourself, but it isn’t something you can easily deduce from the documentation. I wouldn’t recommend doing such a customization.

---

<div class="post-metadata">

**Author:** ![Mateusz\_Ludwin](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/mateusz_ludwin/32/1967_2.png) [@Mateusz\_Ludwin](https://community.bloomreach.com/u/Mateusz_Ludwin)\
**Post date:** [June 13, 2024, 8:54am UTC](https://community.bloomreach.com/t/cms-asset-upload-limits/4419/3 "2024-06-13T08:54:03Z")

</div>

Thank you for your response. It’s good to know that its doable, unfortunatelly i need to implement this in my company project.  
Currently i am trying to do this with UploadValidationService which extends DefaultUploadValidationService, additionally i add two new properties in assetUploadValidation configuration file (web.max. file. size and mp4.max. file. size) but still without success  
Anyway thanks again @jasper.floor !

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [June 13, 2024, 12:03pm UTC](https://community.bloomreach.com/t/cms-asset-upload-limits/4419/4 "2024-06-13T12:03:43Z")

</div>

In that case you should look at the ImageUploadPlugin and the GalleryWorkflowPlugin (one for images, one for assets).
