secure image resolution on mobile