These days it is not really possible anymore to distinguish between mobile and other browsers, but you may try wp_is_mobile
. There are plugins that try to do a better job.
Then, if the user agent is mobile you may try to disable saving of the image, but there is no definite way to do this. To display the image it must be sent to the smartphone. You cannot take over the smartphone, so the user will always have methods to wrestle the image from you.
That said, there are methods to make it difficult for users. The most obvious one is to set images as backgrounds with css. This disables the normal way of saving images. Here are some other options.
Related Posts:
- WP 4.4. responsive images browser choosing the “wrong” one
- Retrieve featured image
- Remove images (files) that were generated when using add_image_size()
- Using Images in WordPress – Best Practices
- Change html structure of all img tags in WordPress
- How to create thumbnails with a fixed width, so all of them will have the same width?
- Creating a rotating header /image slider using theme customization
- Adding HTML within an image title attribute
- How do I delete thousands of unattached images?
- How to remove link from an image in a post?
- Change html structure of all img tags in WordPress
- Limit author image size
- Setup A Default Featured Image
- What’s the best “insert all images” plugin?
- Any way to “combine” galleries or show multiple galleries as one?
- Can I the caption shortcode to set caption to a data attribute, and with the image’s alignment intact?
- Remove image classes from post thumbnail output
- How can I make all post image uploads have data-width and data-height attributes automatically by default?
- Photography Based Design – Multiple Images Per Post
- Mobile Featured Image Bug
- wp_upload_bits does not retrieve images that do not have an extension
- Multiple amp-image overlays. How to properly do this in wordpress?
- Get ALT attribute from title post (code not work)
- Scaling images for mobile
- Using SRCSET with Images and Featured Images
- Image LazyLoad plugin not loading jQuery dependancies with wp_enqueue_script in WP 3.3.1
- How to check for images before echo
- Remove height attribute from wp_get_attachment
- Images give 404 after changing default domain
- Need custom picture field for pages
- Row background image not showing in mobile browser served from wamp local host
- Disable Media File Image Link On Mobile Devices
- Apply nextgen-gallery lightbox effect [closed]
- How to pass on a value as parameter via url to another page
- Web App mode leaves users stranded when following image links when using WPTouch with W3 Total Cache [closed]
- Where to put code that customizes API
- How to make image uploads default to full size?
- Decide how Hero image appears on mobile
- Responsive images with srcset
- WordPress 404 Images – Images not found after deleted from media
- Alt attribute is not showing while the value is given in Media
- Full size image from srcset ALWAYS used on mobile DESPITE setting size of image in editor
- WooCommerce Variation Swatches and Photos – get attribute thumbnail
- Get “Image CSS Class” value from the Advanced Options section
- Unable to delete images in Media Library
- Dinamically modifying attributes of images on posts
- Reduce Mobile Image upload size (wordpress)
- How to add multiple images in a page
- Only User Upload image Http Error
- Remove “align” attribute on images
- Upload button in metabox not working
- Theme files and imagesnot loading on a mobile device
- Saving a post, content filtering and user levels
- Slider do not add alt attribute. Cant get alt attribute from a media library!
- How do I add a nested conditional within an echo – to use a default image if there isn’t one in the post?
- Why images are disappearing on WordPress web site?
- Img alt tag showing different value then entered
- Featured Image not changing
- Font size on image captions on mobile
- Uploaded Media Images on Site
- How to print to the console in Android Studio?
- show hide image script after 4 seconds [closed]
- Restricting users to view only media library items they have uploaded?
- How do I disable responsive images in WP 4.4?
- Filter to remove image dimension attributes?
- How to get a list of all the possible thumbnail sizes set within a theme
- How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?
- Image Upload from URL
- Programmatically adding images to media library
- How do I delete all UNUSED images from my uploads directory?
- Set default image sizes in WordPress to hard crop
- Is it possible set a featured image with external image URL
- get attachment title based on attachment id
- Stop wordpress from hardcoding img width and height attributes
- Creating an Image-Centric Custom Post Type?
- Handle issues with change of image scaling (rounding) in 4.1 (WP Ticket #18532)
- Programmatically get images by URL and save in uploads folder
- Prevent WordPress from generating medium_large 768px size of image uploads?
- remove or update add_image_size
- Get Image Description
- How to extend the gallery block in Gutenberg?
- Image quality based on image size
- Function to get URL of original uploaded image – full size
- how to get original image using wp_get_attachment_image_src
- What is a good alternative to using $content_width for image optimization?
- get the attachement url for the medium sized image
- Can I attach image to post without adding it to post?
- Automatically replace original uploaded image with large image size
- WordPress crop tool greyed out
- How to scale up featured post thumbnail?
- Upload images to remote server
- Custom image size / thumbnail – Crop to aspect ratio even when source image is smaller than set dimensions
- Each custom image size in custom upload directory?
- Getting Images from theme’s directory in pages
- Set default image link target in Gutenberg image block
- Add an alignment option for images
- How to delete resized (cropped) image uploads and prevent future resizing?
- How to automatically add rounded corners to thumbnails?
- WordPress adding scaled images that don’t exist (1536×1536 and 2048×2048)
- Download an image from a webpage to the default uploads folder