- This topic has 4 replies, 3 voices, and was last updated 10 years, 11 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › How can I limit the size of members profile picture
Hi,
I’m using WP eMember 8.7.7 and would like to limit profile image size to 10 KB.
I see in emember_ajax.php a line that says:
// max file size in bytes
$sizeLimit = 10 * 1024;
But this does not seems to limit size at all as my users can upload any size.
So how can I set a size limit?
Have you seen this thread?
https://support.tipsandtricks-hq.com/forums/topic/limit-profile-image-file-size
Yes I did. However this is for an old version and the size limit has changed quite a bit since then.
Hello xberg, try the following URL
Let us know if that helps.
Kind regards
The actual line says:
$sizeLimit = 10 * 1024 * 1024;
That means 10MB. Have you tried changing the 10 to a smaller value?