PlaceHodor
PlaceHodor
Description
Substitute / replace missing images by a default image.
The plugin will (try to) display / generate the good size (width and height) of the image missing.
You can choose to replace the image by one picture uploaded in the Placehodor settings page.
Or you can choose to replace the images missing by images from the placeholder webservices “Placehold.co”, “Picsum.photos”, “Doodleipsum.com” or “LoremFlickr.com”.
You can contact me :
- My blog: https://xuxu.fr
- My Twitter account: https://twitter.com/xuxu
Short Description
Substitute/replace missing images by a default image.
The plugin will (try to) display/generate the good size (width and height) of the image missing.
Installation
- Extract and upload the directory
placehodorto the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Check if Permalink setting is not set on “Plain”
Screenshots

You have 3 modes of substitution available : Solo / Placeholder.com / Picsum.photos

Upload the image that will substitute the images missing

This image will substitute the images missing

Use the webservice "Placeholder.com" (options: text, text color, background color)

Use the webservice "Picsum.photos" (options: normal, grayscale, blur)

Before PlaceHodor set

After PlaceHodor set

Activate a default thumbnail for the posts

A default post thumbnail is set
Faq
Wait for it.
Reviews
Great for Replacing Broken External Image
By Gerry Martinez (gerluxe) on March 30, 2022
Good for avoiding 404 ...
By elschnuppero on March 9, 2022
Very good plugin !
By fpesseas on July 23, 2021
Changelog
1.7.4
- Fix loremflickr.com 500 errors: exclude from lnjph_rand UUID parameter (same as placehold.co)
- Remove PlaceHodorSub from admin bundle to prevent onerror loops in the admin
- Add “Service unavailable” error state on sample preview when remote service is unreachable
1.7.3
- Fix solo mode: “Add image” button now works (wp.media frame closure fix, media-views dependency)
- Add CSS spinner loader while gallery thumbnail loads after media selection
- Fix lnjph_rand UUID parameter causing 500 errors on placehold.co (Cloudflare blocks it)
- Add test pages for development
1.7.2
- Replace server-side image proxy with wp_redirect for external placeholder services
- Fix admin JS for jQuery 3.x and wp.media initialization
1.7.1
- Fix lnjph_sub_thumbnail select: replace PHP boolean keys with string ‘0’/’1′ (PHP 8 compatibility)
- Fix lnjph_render_field: empty() incorrectly treated ‘0’ as empty, breaking the No/Yes select display
1.7.0
- Add LoremFlickr.com as a new placeholder service (keyword-based photos, grayscale option)
1.6.0
- Solo mode: support multiple substitute images with random selection
- Migrate existing single substitute image to the new format automatically on update
1.5.0
- Fix fatal PHP errors in replace rewrite handler (self:: outside class context, wrong class casing)
- Fix JS infinite loop on broken images (addClass with leading dot)
- Replace deprecated DOMSubtreeModified with MutationObserver
- Remove defunct placeimg.com service (settings, fields, JS)
- Merge duplicate get_filesystem() methods
1.4.0
- Make it works on multi site WordPress with sub directory
1.3.4
- Fix get substitute image
1.3.3.2
- Try fix description plugin length
1.3.3.1
- Support .gif in solo mode
- Fix description plugin length
1.3.3
- Add DoodleIpsum.com service
- Add random var to try set / get random image each service call
1.3.2
- Fix select font display
1.3.1
- Update description and tags
- Clean old scripts
1.3.0
- Replace external service down (placeholder.com by placehold.co)
- Remove external service down (placeimg.com)
1.2.0
- Replace image broken from external source
1.1.0
- Can display a random post thumbnail if this option is activated
- Debug display random thumbnail
- Code Rework
1.0.0
- Hello world!
- first Release.