fix max-width to popup images