photo upload tweak