fix problem with image size, centralizing in element