Notifications
Clear all

Uploaded image size/dimensions restriction not working with Imsanity

5 Posts
2 Users
1 Reactions
1,519 Views
Posts: 3
Topic starter
(@lubozviera)
New Member
Joined: 5 years ago

Hello,

my client uses on her site the wpDiscuz Media Uploader addon, but her users uploaded large image files. wpDiscuz settings allow to set the maximum image size to 1MB, but that's still too much. My client has over 20 000 comments on one of her pages, and it's growing fast.

We use the plugin Imsanity to limit the uploaded images dimensions (width/height), but the plugin doesn't fire on your plugin's upload. Id your plugin using the standard wp_handle_upload hook? Or is there some other way how to limit not only the file size of the images, but also the max width/height?

Thank you.

Lubo

4 Replies
Astghik
Posts: 6152
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

Hi @lubozviera,

I'll need some recommendations from add-on developers to provide you the correct answer. 

I'm going to ask this question to add-on developers. I'll update the topic once I get news for you.

Reply
2 Replies
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6152

Hi @lubozviera,

the addon developers will add the functional hook in near future releases. 

Reply
(@lubozviera)
Joined: 5 years ago

New Member
Posts: 3

Thank you! I hope it will be added soon 🙂

Reply
Posts: 3
Topic starter
(@lubozviera)
New Member
Joined: 5 years ago

Hi Astghik,

was this functionality added in the latest release of your plugin, please?

Thank you.

Reply
Share:
Scroll to top