Fix for images lenght and width