fix image resizing to be dynamic