5.3.2.3. Featured Images Section
This section contains settings that are used to save featured image URLs for each post directly from the category pages. These settings can be useful if the post pages do not show featured images and you want to save them as the saved posts’ featured images. If the post pages display featured images, you can also save the featured images under Post Tab.
Note
The plugin will save only the URLs of the featured images when crawling a category page. The image will be saved when saving the post.
Let’s consider the following scenario. The plugin found featured images and saved their URLs into the database when crawling the category page. Your settings are configured such that the post whose URL was saved when crawling the category page will be saved 3 days later. 3 days later, the plugin crawls the post but the post’s featured image is changed or removed by the site. In this case, the plugin will use the featured image URL that was saved into the database 3 days ago and assign it as the featured image of the post.
5.3.2.3.1. Save featured images?
If there are featured images for each post on the category pages and you want to save the featured images for the posts directly from the category page, check this.
Important
Other featured image settings will be visible only if this is checked.
5.3.2.3.2. Featured Image Selectors
This is a type of Selector and Attribute Setting. You should enter a CSS selector that matches the featured image URLs of the posts displayed in the category pages. In other words, the selector must be able to find featured image URLs inside the category pages.
Note
If you enter more than one selector, the first match will be used.
5.3.2.3.3. Test Featured Image URL
An absolute image URL to be used to perform tests for the find-replace settings for featured image URL.
5.3.2.3.4. Find and replace in featured image URL
This is a type of Find and Replace Setting. You can enter find-replace rules to be applied to each featured image URL found by Featured Image Selectors. When you click to button, Test Featured Image URL will be used as the subject.
This setting is quite useful if there are certain rules a web site uses when creating image URLs.
For example, if the original image URL is https://site.com/image-100x100.jpg
but you
definitely know that a bigger version of the image exists at https://site.com/image-800x800.jpg
,
then you can replace 100x100
with 800x800
to make the plugin get the bigger version of
the image.
Important
If the find-replace rules defined here makes the image URL invalid such that it returns a
404
response, then the images will not be saved. Therefore, when making changes, make
sure the resultant URLs actually show the image. You can just open the resultant URL in your
browser to test if it exists.
5.3.2.3.5. Post links come before featured images?
If the links for the posts in the category page come before the featured images, considering the position of the featured image and link in the HTML of the page, check this.
The plugin matches each URL found by Featured Image Selectors with each post URL found by Category Post URL Selectors. It does this matching by looking at the positions of the HTML elements inside the source code of the category page. When this setting is not checked, it means the position of the HTML element showing the image of a post is smaller than the position of the HTML element showing the post URL. If this is checked, it is the reverse.
Tip
If the plugin cannot match the images with the posts correctly, then you can check this setting and test the results using Tester Page to see if it can correctly match in this case.