change post to get request for imgs