I checked there isnt in the admin panel.
So where in the code can I check the max width and hight of the pics that a user can upload? (dimensions in pixels ex. 640x480)
When people try to upload larger pic it shows:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 340 bytes) in /home/zapoznaj/public_html/inc/images.inc.php
please help me
Sizes of profile and photo pics can be regulated in admin panel->settings->advanced settings section, find variables there like:
Max width of profile photo (in pixels) or
Max height of profile photo (in pixels).
In current gallery photos we applied check for server's upload_max_filesize and post_max_size - so users can't upload photo with size than 2 this variables. In your case it can be memroy_size_limit less than values of mentioned parameters.
Regards
The problem is
When a user uploads a bigger photo (eg. 1200x840), it shows white field instead of the photo. When uploading smaller pic there is no problem.
When I go directly to the photo file (the link ....jpg) it dispayes the photo, so the file is uploaded.
But the problem is that the file isn't displayed in Dolphin, only blank white field and no photo.
How do I change the limit for the uploading picture size?
I'm not sure but it might be the problem.
If see more
you should increase memory_size_limit parameter in settings of your PHP.
About empty photo - plz specify exactly do you have it in profile or gallery photos section? It can happen when GD can't work with uploaded photo (but query to db insert query) - in 6.1.1 for gallery photo this issue was improved.
Provide me FTP and Cpanel details see more
The problem is
When a user uploads a bigger photo (eg. 1200x840), it shows white field instead of the photo. When uploading smaller pic there is no problem.
When I go directly to the photo file (the link ....jpg) it dispayes the photo, so the file is uploaded.
But the problem is that the file isn't displayed in Dolphin, only blank white field and no photo.
How do I change the limit for the uploading picture size?
I'm not sure but it might be the problem.
If see more
just after the <?php open fixed the problem.
In which php file I have to insert "ini_set("memory_limit","64M"); ???
thanks!