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
- Prevent WordPress from generating medium_large 768px size of image uploads?
- Uploaded images don’t show in Media Library if there are special characters in IPTC Keywords
- How do you modify the HTML output of a Gallery item (using the gallery shortcode)?
- Auto delete WordPress images/thumbnails (all sizes) and featured after X days/hours, or similar?
- HTTP Error when trying to upload image
- Media sizes aren’t being created – server config?
- Drag images with caption in WP editor
- Best way to strip character entities (%20 etc)
- How to set a contact forms total size limit
- Get thumbnail url of custom meta image?
- SVG Featured image not shown in twitter
- All Images on wordpress site broken
- How to use photo in multiple posts?
- Hero image cropped at different dimensions
- How do I track down the origin of the alt text on a particular image?
- Is it possible to reduce image filesize on the fly (when users enter my website)?
- Create a link to full-sized image attachment?
- Is there any way to modify images from a theme using the web interface?
- caption shortcode inserts blank paragraph
- Can I achieve this with WordPress?
- Built-in image lazy loading: Does it come with a polyfill for older browsers?
- SQL: How to find all attachments that are not used in any posts/pages/custom_post_types
- I would like to set a FULL SCREEN background image to all my pages (same way it is on my home page)
- Modified core/image rendering not showing in posts – only on pages
- Resize External Image
- Images are not getting uploaded
- Assigning image to Post-Type won’t work anymore: exceeded time?
- How to change default image rename?
- Image attachement management – a philosophical question
- wp_get_attachment_link() add rel attribute if the link points to direct image
- How to get some information from the_content [closed]
- Custom Background Image per Page
- How to import external media items into wordpress media library (without using storage)
- Set custom banner image size with wp_customize
- I am having trouble displaying an image at the top of a widget area [closed]
- How to return responsive images from a sanitize_callback?
- How to disable Right Click on a image? [closed]
- Can’t upload svg files in WordPress
- Images uploaded in customized gallery do not link to media
- WordPress Site Broken and it gives Headers Already sent error