restoring images uploaded