Closed (fixed)
Project:
IMCE
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2012 at 09:13 UTC
Updated:
22 Apr 2012 at 19:51 UTC
I'm not allowed to upload images larger than 1200px (height or width). The image I want to upload is 1650px high.
I've been searching in the module code to find the piece of code that makes this constraint. In the file "imce.core.profiles.inc" I've found a line of code that possibly makes this constraint, but changing it didn't help.
/**
* User1's profile.
*/
function imce_user1_profile() {
$profiles = variable_get('imce_profiles', array());
if (isset($profiles[1])) {
return $profiles[1];
}
return imce_construct_profile('User-1', 1, 0, 0, 0, '*', '1200x1200', 0, array(array('.', 1, 1, 1, 1, 1, 1)), array(array('Small', '90x90', 'small_', ''), array('Medium', '120x120', 'medium_', ''), array('Large', '180x180', 'large_', '')));
}
I'm not a code expert and fear I'm looking in the wrong place.
I've searched for similar issues, but couldn't find an answer suiting my needs.
Can someone tell me how to change the maximum size of the uploaded images?
Thank you, Paul.
Comments
Comment #1
ufku commentedEdit your configuration profile at /admin/config/media/imce
Comment #2.0
(not verified) commentedchanged a type error