Set proper rights for images