Uploaded image size/dimensions restriction not working with Imsanity  


lubozviera
Posts: 3
(@lubozviera)
New Member
Joined: 4 months 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: 3293
Admin
(@astghik)
Support Team
Joined: 2 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: 2 years ago

Support Team
Posts: 3293

Hi @lubozviera,

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

Reply
lubozviera
(@lubozviera)
Joined: 4 months ago

New Member
Posts: 3

Thank you! I hope it will be added soon Smile

Reply
lubozviera
Posts: 3
(@lubozviera)
New Member
Joined: 4 months ago

Hi Astghik,

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

Thank you.

Reply
Share:
Green
Default
Pear
Black Emo
{green}:grinning:
{green}:wink:
{green}:face:
{green}:inlove:
{green}:sweaty:
{green}:surprised:
{green}:lovekiss:
{green}:laugh:
{green}:formalsmile:
{green}:displeased:
{green}:cool:
{green}:resent:
{green}:nerd:
{green}:screaming:
{green}:amazed:
{green}:sad:
{green}:deceitful:
{green}:starryeyes:
{green}:evil:
{green}:shocked:
{green}:tears:
{green}:sulky:
{green}:smile:
{green}:vomited:
{green}:hi:
{green}:afraid:
{green}:crazy:
{green}:rabid:
{green}:fighting:
{green}:nonoise:
{green}:blushed:
{green}:idontknow:
{green}:scared:
{green}:razz:
{green}:kiss:
{green}:eat:
{green}:shutmouth:
{green}:gape:
{green}:suspicious:
{green}:laughingoutloud:
{green}:bruise:
{green}:crying:
{green}:pray:
{green}:serious:
{green}:excitement:
:)
:d
:wink:
:mrgreen:
:neutral:
:twisted:
:arrow:
:shock:
:???:
:cool:
:evil:
:oops:
:razz:
:roll:
:cry:
:eek:
:lol:
:mad:
:sad:
:!:
:?:
:idea:
:hmm:
:beg:
:whew:
:chuckle:
:silly:
:envy:
:shutmouth:
{pear}:happy:
{pear}:smile:
{pear}:laugh:
{pear}:laughingoutloud:
{pear}:crying:
{pear}:exhausted:
{pear}:nerd:
{pear}:surprised:
{pear}:veryhungry:
{pear}:wink:
{blackemo}:laughtertotears:
{blackemo}:gift:
{blackemo}:love:
{blackemo}:inlove:
{blackemo}:shamefaced:
{blackemo}:heart:
{blackemo}:crazy:
{blackemo}:anguished:
{blackemo}:bruise:
{blackemo}:easymoney:
{blackemo}:exhausted:
{blackemo}:vampire:
{blackemo}:shutmouth:
{blackemo}:wink:
{blackemo}:carnival:
{blackemo}:flowers:
{blackemo}:hotdrink:
{blackemo}:party: