Difference between revisions of "WordPress Images"

998 bytes added ,  18:26, 15 February 2022
m
 
Line 74: Line 74:
Thumbnail Cleaner: Good for focusing on getting rid of old thumbnails (Alternate Image Sizes).  OK, here's the situation: You're switching to Real Thumbnail Generator and want to get rid of all the Alternate Image Sizes  (AIS) in the Uploads Directory / 'flat file structure'.  Clean up thumbnails before installing the Real Thumbnail Renerator is the best option.  That's because it will scan and delete files in sub directories and those will need to be re-created too.  No big deal unless there are a lot of images.  Just a note: Using it with Real Media Physical Folders (or no Plugin) will result in any image file in the 'Thumbnail / AKA AIS' being deleted (CONFIRMED with testing, unless protected by a file permissions setting).  IE, it seems to go after any image file in the uploads directory that is not the 'original' image.
Thumbnail Cleaner: Good for focusing on getting rid of old thumbnails (Alternate Image Sizes).  OK, here's the situation: You're switching to Real Thumbnail Generator and want to get rid of all the Alternate Image Sizes  (AIS) in the Uploads Directory / 'flat file structure'.  Clean up thumbnails before installing the Real Thumbnail Renerator is the best option.  That's because it will scan and delete files in sub directories and those will need to be re-created too.  No big deal unless there are a lot of images.  Just a note: Using it with Real Media Physical Folders (or no Plugin) will result in any image file in the 'Thumbnail / AKA AIS' being deleted (CONFIRMED with testing, unless protected by a file permissions setting).  IE, it seems to go after any image file in the uploads directory that is not the 'original' image.


Media Cleaner (Pro): Good for identifying any unused images (IE, the full size / original images)
Media Cleaner (Pro): Good for identifying any unused images (IE, the full size / original images).  If one has a custom setting in a child theme's functions.php settings dealing with enabling Trash for Media items, it will mess this up.


===Media Organizers===
===Media Organizers===
Line 135: Line 135:
**WP Attachment: Shows what Images or Media is attached to a Page or Post, etc. (when editing the Page or Post, etc.)
**WP Attachment: Shows what Images or Media is attached to a Page or Post, etc. (when editing the Page or Post, etc.)


== Gotchas ==
==Gotchas with Real Physical Media and Real Thumbnail Generator==


===Major Issue with Real Physical Media===
===Major Issue===
Ran into an issue with the Real Physical Media Plugin.  In the "Settings Section" (on the same page as Settings, Media) for Real Physical Media, when it is first installed, there is a notification that states: "You have not currently activated a file handler. Please activate a file handler in the settings below."  Immediately below that is a field titled "File moving handler", which should show a File Renaming Handler indicating the Media File Renamer (by Meow Apps) is selected or needs activating (it appears, like the Henry Ford saying "You can have any color you want as long as it's black." in response to a question about available colors for the Model T Ford).  Sometimes it doesn't
Ran into an issue with the Real Physical Media Plugin.  In the "Settings Section" (on the same page as Settings, Media) for Real Physical Media, when it is first installed, there is a notification that states: "You have not currently activated a file handler. Please activate a file handler in the settings below."  Immediately below that is a field titled "File moving handler", which should show a File Renaming Handler indicating the Media File Renamer (by Meow Apps) is selected or needs activating (it appears, like the Henry Ford saying "You can have any color you want as long as it's black." in response to a question about available colors for the Model T Ford).  Sometimes it doesn't


The problem involves the name of the PlugIn Directory.  IE, the Real Physical Media Plugin Directory should be: real-physical-media  If it isn't, the plugin won't work.  This isn't completely the fault of Real Physical Media (it just means they've got the plugin directory name hardcoded in somewhere instead of using a call function).  Other plugins can have similar issues, so don't rename the plugin folder from its original name.
The problem involves the name of the PlugIn Directory.  IE, the Real Physical Media Plugin Directory should be: real-physical-media  If it isn't, the plugin won't work.  This isn't completely the fault of Real Physical Media (it just means they've got the plugin directory name hardcoded in somewhere instead of using a call function).  Other plugins can have similar issues, so don't rename the plugin folder from its original name.


=== Custom CSS ===
===Custom CSS===
When using the Real Physical Media Plugin, it is very likely that if custom CSS is being used (like with Custom CSS and JS), those paths will need to be modified manually.
When using the Real Physical Media Plugin, it is very likely that if custom CSS is being used (like with Custom CSS and JS), those paths will need to be modified manually.
=== File Names with Periods ===
When using the Real Physical Media Plugin, if a file has a Period in it, one of two issues occurs.  One, RMP strips out periods (and other non-WordPress compatible characters or modifies them in some way when setting things up and / or uploading files), or it can't handle periods in a file name, other than an extension.  The former could be a setting, the latter could be a programming issue.  For instance, PictureNameFromXYZ.com.jpg becomes PictureNameFromXYZ.com
=== Images that have been Inserted as Thumbnails (AKA Alternate Image Sizes) ===
If an image has been inserted into a Post with as "Thumbnail" size (IE, not the Original Size), and "Thumbnails" are regenerated with Real Thumbnail Generator ''and'' and alternative storage location is used, then something breaks for the file path.