Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum   wpForo Support Forum

Uploaded image size/dimensions restriction not working with Imsanity  


lubozviera
Posts: 3
(@lubozviera)
New Member
Joined: 1 year 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: 4143
Admin
(@astghik)
Support Team
Joined: 3 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
(@astghik)
Joined: 3 years ago

Support Team
Posts: 4143

Hi @lubozviera,

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

Reply
lubozviera
(@lubozviera)
Joined: 1 year ago

New Member
Posts: 3

Thank you! I hope it will be added soon Smile

Reply
lubozviera
Posts: 3
(@lubozviera)
New Member
Joined: 1 year ago

Hi Astghik,

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

Thank you.

Reply
Share: