set image size at initialize
add static api