test gallery image scaling error