If you’re trying to link the image to the page in the post editor you can click on the image and then click the link icon to set the target.
You can do the same thing in HTML (in the editor in source view), in a plugin, or in a theme like this:
<a href="https://wordpress.stackexchange.com/link/to/your/page">
<img src="/link/to/your/image" />
</a>
Related Posts:
- Is there a simple way to just insert a link to an image (without inserting an image)?
- Default Image Link Removal
- How to add a link in a image’s caption?
- How to remove link from an image in a post?
- Remove ‘wp-content/themes/themename/’ from Image path
- All Images on wordpress site broken
- Move Image Captions Inside Link ( tag) if Added
- Is it possible to change ‘Link to’ in all images in all articles?
- Help With Custom Image and Text Widget
- How to filter the image embed code based on link type
- I am getting useless alphabets in images link
- Clicks registering on Preview DNS site
- How do I link a featured photo to it’s post?
- Disable Media File Image Link On Mobile Devices
- Hiding Media Source Links
- Link to full-size image for subscriber only
- Link to products with the same image title (woocommerce)
- How to show a full page when someone links directly to an image on my site
- link not working in image section
- Recovered WordPress installation (on localhost) links broken and images not showing
- WordPress 404 Images – Images not found after deleted from media
- Image linking and lightbox
- Server peek by Own-IP-Calls?
- How might one programmatically set the link for all images in all posts?
- Images not showing after moving site
- Surround uploaded image link with div
- Making a thumbnail if there exist a link with. jpg or .png extension in WordPress
- adding images to wordpress pagination?
- Stop underlining image links
- WordPress update leads to 404 error on admin page and signup. CSS mishap with all plugin related functions
- Set default image link target in Gutenberg image block
- Add an alignment option for images
- WordPress adding scaled images that don’t exist (1536×1536 and 2048×2048)
- Image Scaling using get_the_post_thumbnail issue in WordPress
- WordPress is Inserting images into Post as HTTP and not HTTPS
- Downsizing Many Large Images Attached to Posts, in Bulk?
- Disabling auto-resizing of uploaded images
- How do I delete thousands of unattached images?
- How to set the width and height rule for featured image
- How to install Imagick or resolve issue
- Responsive Images Resizing Images
- Broken urls with http site and https wp-admin
- Get uploaded image path in wordpress by filename
- Gallery post images on homepage?
- How to extract image width from add_image_size?
- Add “data-” attribute to image links
- How can I make all post image uploads have data-width and data-height attributes automatically by default?
- Replace original image, WP image editor
- WP Responsive images – upload custom image sizes
- Images not loading after migration
- Update old Post image metadata to ‘thumbnail’ wp_attached_file
- Control Responsive Images
- How to throw admin notice error on image upload
- Get size of smaller image version
- How to add an image to the post preview in the free theme “food recipes”
- Blank upload.php page
- Unable to upload images to the Media Library. Getting this erron on the console wp-admin/async-upload.php 403 (Forbidden)
- Missing background image setting in admin of twenty nineteen
- the_post_thumbnail(‘medium’) setting some images width=1 height=1
- Help with resizing of featured images on WooCommerce homepage
- NextGEN Conditional Statement [closed]
- Why WordPress suddenly changed sizes of thumbnails?
- All Images not calling alt text
- WordPress Featured Image meta box not showing
- Number of Style for Image Added into Post
- Can we use featured image as third party website image URL
- the_content not showing responsive image attributes srcset or sizes
- add_image_size not working
- How to change the value “uploaded to” in the media library (WordPress 4.0)
- Thumbnails different sizes
- How to remove the images from “Uploaded to this post”?
- For a complete backup, is it enough to copy htdocs and export database?
- Photos automatically uploaded to Media Library
- Failed to load resource:404 image
- Place image caption outside of figure tag (Gutenburg Image Markup)
- Featured image not shown in header
- Crop tool do not work
- Profile image does not upload
- Auto Generate Thumbnail
- Images not loading on webpage, and links to other media give 404 Not Found
- Loading and Referencing Images
- ALT attribute in menu images
- Import images from old WordPress site into new site
- How to create interactive charts on WordPress?
- Images 404 after wp migration to a subdomain
- Using ACF Pro plugin – How to get alt tags using repeater with Image ID? [duplicate]
- How to compress thumbnails instead of cropping
- Custom image sizes quality
- built-in responsive images in content – do I need to add anything to functions.php?
- Pasted image and text in the editor doesn’t work
- Widget media uploader doesn’t opens after widget save
- Query Image File of a Different Size
- How to display image thumbnails on the search results page?
- How to modify images during upload
- Get custom size of thumbnails
- How do you cite the images on your blog? [closed]
- Cannot use existing image as a featured image since 3.8.1 update
- Why WordPress doesn’t show pictures when I upload them in a new post?
- Post-upgrade problems: Image URL in DB, but not showing
- greater flexibility in targeting images attached to page