Disabling right-click can help protect your images/photos from being illegally saved or downloaded. Though not full proof, this method can help act as a deterrent.
When building or editing a WordPress theme, you might want to get the URL of a specific image by it’s ID. Here’s how to do it using the ‘wp_get_attachment_url’ function.
By default, WordPress compresses images uploaded via the media uploader. Learn how to change the level of compression in your functions file to better suit your website.
WordPress gives you three different image sizes to set in the media settings of the dashboard, but sometimes it’s handy to add a few more to your theme to use around your website.