I don’t believe this is possible. Images are ‘replacement items’ generated by the browser. They’re not IN the html, they’re CALLED by the html. If the reference is wrong, the image will never show. If the reference is right, the image will show… but it will be accessible to the visitor.
In other words, if you’re going to put pictures on the web, people are going to be able to steal them. The only way around this that I’m aware of is to use and call the images in there.
Related Posts:
- How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?
- Programmatically get images by URL and save in uploads folder
- Function to get URL of original uploaded image – full size
- How to reference a theme image in a stylesheet?
- Mixed content warnings after changing site adress from HTTP to HTTPS
- Preview Image Path in Admin Section
- Why would image paths in wordpress suddenly change?
- Remove the http protocol from images
- How do i reference the theme path in pages for images?
- @wordpress/create-block image url in css
- WordPress url image redirect to the homepage
- Broken urls with http site and https wp-admin
- A way to change image urls in post to cdn image url?
- How to change image url?
- Update image links in database
- Shortcode for a link and thumbnail
- media_sideload_image with rewritten urls?
- How to add an image to a custom url?
- images not showing after transfer
- Change media URL (images)
- How to redirect homepage to actual URL?
- Clicks registering on Preview DNS site
- Is it possible to enable the ‘Link To’ field under ‘Attachment Display Settings’ for a Featured Image?
- Using a .pdf file as a page in wordpress
- How to get image URL from media_sideload_image?
- Exclude image url from search query
- Redirect Image Url to a page via htaccess
- How to pass on a value as parameter via url to another page
- How to replace post image url before posting using api?
- Glitched page redirects to image
- i want to change URL of WordPress image or rewrite in runtime
- How to show a full page when someone links directly to an image on my site
- Bypass wp_safe_remote_get()?
- Which tools should I use for a gallery that uses an API and url for the path of the images?
- List sub pages with custom field content converting image ID to URL
- Change the image for a certain URL
- Setting name of attachment URL
- Search and replace image urls in posts
- Protocol relative url not pulling up images on IE, FF, and OPERA
- Broken image URL
- How do I mitigate the forward slash problem for URLs of images after a WP migration?
- Images in sub-pages fail to load
- get_post_custom: get image URL instead of image ID
- Are image addresses security relevant?
- Remote Image (from URL) as Media Library element
- WPALLIMPORT Exporting images from repeater field [closed]
- WordPress crop tool greyed out
- get_the_post_thumbnail_url with an unregistered size
- How to crop image from image src in a specific size
- Resizing only featured images while uploading
- How do i upload an image and return the image id?
- Is it possible to prevent users from uploading small images?
- how to base64 encode images in wordpress template
- get_children – wp_get_attachment_image
- How to add an image for unit testing?
- Custom image size not regenerating when image editted
- Image still linked as attachment to page even though it has been deleted
- Is 700,00 jpgs too many for a WordPress site.?
- Change the RSS feed image
- Plupload resize for worpdress
- Question about add_image_size()
- How to display a different image size for mobile
- Photography Based Design – Multiple Images Per Post
- Remove Size images without use
- Woocommerce featured image of page – not product
- Include caption underneath post images
- How to prevent WordPress scaling large images down
- Show image EXIF info
- wp_customize_image_control deprecated add_tab alternative
- How to check for images before echo
- Two “the_excerpt” questions
- How can I use wp_save_image_editor_file filter?
- How to set featured image from external url programmatically
- Capitilize Alt/Title Tag in Image HTML, Reorder HTML Output
- How to display a sized image from Simple Fields repeatable field
- Allow admin roles to add images to comment replies
- Calling two images at a time? A better way?
- Image.php Problem – Post Images Not Displaying In It
- insert og image link in wordpress post
- Apply manual image cropping not to thumbnail but medium_large size
- How to use default image as featured image by implement some code in function.php
- Dashboard Create Gallery missing
- I cannot upload images to post or the media library in wordpress
- Change header image size
- How to disable post-thumbnail from generation?
- WordPress Shortcode to display featured images only
- Show WordPress Image Title Under Custom Portfolio Image
- Where is this folder [closed]
- Lots of attachments is causing slow load
- Image editor not working correctly
- Resizing to bigger proportions as original not working
- Admin bar stats widget plugin image broken
- Adding social share buttons for individual images on a web page
- How to import external media items into wordpress media library (without using storage)
- 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