jw-wpcli-random-posts icon indicating copy to clipboard operation
jw-wpcli-random-posts copied to clipboard

lorempixel.com down, alternatives?

Open thetwopct opened this issue 6 years ago • 3 comments
trafficstars

Just tried to generate some posts with featured images and got error:

Invalid value specified for 'img-type' (Sets the image provider)

On inspection, it seems that lorempixel.com is no longer resolving for me, so I assume its down.

Any way to specify another image source (unsplash maybe?)

Thanks!

thetwopct avatar Jun 15 '19 10:06 thetwopct

Lorem did go through some issues. In the code there is no alternatives currently but Lorem seems to be back up. This may call for a 'local' solution in the future. Maybe random image from folder makes sense?

JayWood avatar Oct 13 '19 19:10 JayWood

Maybe random image from folder makes sense?

This would also speeds up post generation.

johnchristopher avatar Apr 28 '20 14:04 johnchristopher

an option to just use a random image from the existing WP media library would be sweet.

petertwise avatar Mar 05 '21 00:03 petertwise