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

ufku’s picture

Priority: Major » Normal
Status: Active » Fixed

Edit your configuration profile at /admin/config/media/imce

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

changed a type error