adding image size detection and property
merge