added: ability to change image size