w changed image loading
fixes for photo uploading when local development