Category Archives: Blog
When I first wrote Bacon Mockup, it was done as a standalone PHP site and it’s worked pretty well, but I decided a while back to redo it entirely in WordPress. It gives me better management capabilities when it comes to adding new images and content, plus much easier image resizing.
The plugin code I wrote that dynamically generates images for specific dimensions from the media library has been added to GitHub and it should be pretty easy to use this to create your own placeholder image site.
Today, I switched baconmockup.com over to WordPress. Here’s a little sample of what it looks like.
Using a rewrite rule, we pass image dimensions into the plugin (ex: http://baconmockup.com/300/300) It looks for an existing image of that size, and if one doesn’t exist, it gets created on-the-fly using image_make_intermediate_size.
It looks like it’s working pretty well so far, but if you run into any issues, please let me know.
Thanks and have a meaty day!
I’ll be attending SXSW Interactive 2013 this year and I hope to meet some fans of Bacon Ipsum. If you see me wandering around, feel free to say hi. I’m introverted, but I don’t bite (unless you’re actually made of bacon).
I’m glad to see everyone took some time off.
— Dublthree (@dubl3) November 19, 2012
We’ve added a ‘no_tags’ option to the jQuery Plugin to keep the code from wrapping the output in <p> tags. Thanks to Joel Lord for the suggestion.
One of my co-workers dressed up as me for our Halloween contest at work (including my custom Twitter badge). Well done!
If you’re sick of the constant political drivel on Facebook, check out the Meaty Social Politics extension for Chrome that @WhiteyOmits whipped up. It changes instances of ‘Obama’, ’Romney’, ‘Election’, etc. into paragraphs of bacon ipsum via our API.
It also has a snazzy icon. Well done sir!
P.S. I don’t care who you vote for, but you should still go vote.