I have found that if you put the image as a background url image in a div using CSS then you cannot right-click to download the image or show image in new tab. You would need to add the CSS code in the page header (as php will not work in the external style sheet)
Hope this helps
Vanrooj