fix for image thumnail aspect ratio