support customize image width and height