Do you mean the size of photos uploaded into resource updates/descriptions? If so, those are restricted based on the standard attachment limits.
If you mean the actual "main" resource file, then they do pull some constraints from the standard attachment limits (namely dimension limits). File size, extension and number of files all come from RM-specific options.