In what scenarios would it be appropriate to implement measures in PHP to restrict users from easily saving or copying images from a website?

To restrict users from easily saving or copying images from a website, you can implement measures such as disabling right-click functionality, overlaying images with transparent divs, or using image watermarking. These measures can make it more difficult for users to save or copy images without permission.

<?php
// Disable right-click functionality
echo '<script>
document.addEventListener("contextmenu", function(e){
    e.preventDefault();
});
</script>';
?>