WordPress Image Control: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
==Items to Consider== | ==Items to Consider== | ||
=== Image === | ===Image=== | ||
*Title | *Title | ||
Line 17: | Line 17: | ||
**ALT / Alternative Text is used in the Images ALT Attribute when viewed via a Permalink URL or whenever the image is used in a Page, Post, etc. | **ALT / Alternative Text is used in the Images ALT Attribute when viewed via a Permalink URL or whenever the image is used in a Page, Post, etc. | ||
=== Redirection === | ===Redirection=== | ||
* Redirect from Image Permalink URL to Fragment Location / Anchor / ID on a Page | *Redirect from Image Permalink URL to Fragment Location / Anchor / ID on a Page | ||
** And | **And | ||
*** If no explicit Redirect is set up, then go to the Images Parent | ***If no explicit Redirect is set up, then go to the Images Parent | ||
*** OR | ***OR | ||
*** Stay on the Image's Permalink URL | ***Stay on the Image's Permalink URL | ||
=== WordPress Functionality === | ===WordPress Functionality=== | ||
* | * | ||
Line 31: | Line 31: | ||
*Automatic "Thumbnail" (Resized Image) Generation that are automatically generated by WordPress, Themes, Plugins, etc.: Wordpress sets the SRCSET Attribute | *Automatic "Thumbnail" (Resized Image) Generation that are automatically generated by WordPress, Themes, Plugins, etc.: Wordpress sets the SRCSET Attribute | ||
=== SEO stuff === | ===SEO stuff=== | ||
*Canonical URLSs are only useful if an end Image / Item / etc. falls under multiple categories (IE is duplicitous) and a Search Engine needs to know which one is the default. | *Canonical URLSs are only useful if an end Image / Item / etc. falls under multiple categories (IE is duplicitous) and a Search Engine needs to know which one is the default. | ||
=== Other Nice Additions if Possible === | ===Other Nice Additions if Possible=== | ||
*Search Results just for Images??? | *Search Results just for Images??? | ||
Line 41: | Line 41: | ||
*Index and / or Table of Contents (for all of website & only images, so two indexes or table of contents) | *Index and / or Table of Contents (for all of website & only images, so two indexes or table of contents) | ||
=== Plugins === | ===Plugins=== | ||
*Plugins To Manage Images and Media | *Plugins To Manage Images and Media | ||
Line 55: | Line 55: | ||
**Plugin that will create a default ALT description if there isn't one??? | **Plugin that will create a default ALT description if there isn't one??? | ||
**Plugin that will redirect Permalink for Image to a Lightbox based on Category??? | **Plugin that will redirect Permalink for Image to a Lightbox based on Category??? | ||
***Ideally the landing page for an image obtained from a search engine should have a page that says, "Here is the image by itself. And here is the link to the actual location on another page" | |||
****OR | |||
***Use the below "Parent Redirect" method, then a Plugin that does "After Page Load", "Smooth Scroll to position" | |||
****This can include Lazy Loading, Page Animation while Loading | |||
***...or redirect image to intended location instead of the Permalink URI | ***...or redirect image to intended location instead of the Permalink URI | ||
****Redirect: This provides a simple list of redirects. Some Plugins like Timeline Express have delayed rendering which will affect Fragment Location / Anchor scrolling | ****'''Redirect''': Tools, Redirection; This provides a simple list of redirects. Some Plugins like Timeline Express have delayed rendering which will affect Fragment Location / Anchor scrolling | ||
****'''Attachment Pages Redirect with Media Library Assistant''': https://wordpress.org/plugins/attachment-pages-redirect/: Redirects Permalink URI to a Page, etc (Permalink of Page, etc.) | ****'''Attachment Pages Redirect with Media Library Assistant''': https://wordpress.org/plugins/attachment-pages-redirect/: Redirects Permalink URI to a Page, etc (Permalink of Page, etc.) | ||
*****One great remaining thing would be to not only redirect to the page, but also use a # to scroll to the appropriate point on the page. Since most Anchor Tags are defined by the ID Attribute or the Name Attribute, it should work. | *****One great remaining thing would be to not only redirect to the page, but also use a # to scroll to the appropriate point on the page. Since most Anchor Tags are defined by the ID Attribute or the Name Attribute, it should work. | ||
Line 66: | Line 70: | ||
****All in One SEO will do it to, but not sure about having both it and Yoast installed | ****All in One SEO will do it to, but not sure about having both it and Yoast installed | ||
****In the image.php (Wordpress or Theme?) file: <code><?php wp_redirect(get_permalink($post->post_parent)) ; ?></code> | ****In the image.php (Wordpress or Theme?) file: <code><?php wp_redirect(get_permalink($post->post_parent)) ; ?></code> | ||
****A really complex idea would be to use the Attachments Pages Redirect, Media Library Assistant (to define Parent), and some PHP code to create a URL "on the fly" | |||
**** | **** | ||
**Plugin that creates a Title for an Image (Media Assistant???)??? | **Plugin that creates a Title for an Image (Media Assistant???)??? |