works with image upload(path in database and file in directory) and retrieval on page