redirected the location of a bmp to the media directory