refactoring
resize image cell for loaded images