Tag: image-processing

  • Limiting Featured Image Dimensions in WordPress

    Limiting Featured Image Dimensions in WordPress

    Discover how to limit image sizes for featured images based on pixel dimensions using JavaScript in the WordPress block editor. Block large images from being uploaded and display error notifications, preventing publishing until the image size meets the specified criteria. Implement this feature by enqueuing a simple `add_action()` during the `enqueue_block_editor_assets` hook.

  • Half Baked Idea: Limiting WordPress Image Upload Sizes

    Half Baked Idea: Limiting WordPress Image Upload Sizes

    Limit image upload size in WordPress media library by using the `wp_handle_upload_prefilter` filter. Implement a custom function to check and restrict the size of uploaded images. Utilize PHP code to set a maximum size limit and display an error message if the file exceeds it. Add this functionality to your WordPress site.

  • Dall-E 2 Outpainting Experiment

    Dall-E 2 Outpainting Experiment

    OpenAI introduces Outpainting feature to DALL-E 2, allowing easy image expansion. A quick run-through explores the other side of Bliss with fun experimental results. Download the raw file from DALL-E 2 to further experiment with image manipulation.

  • Dynamic Tea House

    Dynamic Tea House

    Not too long ago, a coworker shared that they had created a WordPress Dynamic Wallpaper for macOS. I thought this was just cool, so I eventually made one of my own with my favorite dynamic set of images: the Tea House theme from Gmail. Now, these classic Gmail themes are all but lost to history,…

  • Sun Dog

    Sun Dog

    While driving today I noticed some really strong sun dogs and I just had to take a picture 🙂 It’s edited a little bit to help make it clearer through my car window, but it was still awesome!

  • Fowler Park Pioneer Days

    Fowler Park Pioneer Days

    Still trying to figure out this iPhone camera. Bonus: Covered bridge and a trash can:

  • Validating WordPress attachments with WP-CLI

    Validating WordPress attachments with WP-CLI

    I recently worked on migrating a site to a different server and for one reason or another, some of the images did not come over properly. While I could have just re-downloaded and re-imported all of the media, it would have taken quite a while since the media library was well over 100Gb. Instead, I…

  • Photography Woes

    Photography Woes

    My morning routine usually involves me checking my RSS reader NewsBlur.  One of the many, many sites I follow is the Greene County Daily World, my “local” newspaper. I was surprised when I saw an article titled “Old Clifty Church in need of repair” that had an eerily familiar image. Because it was mine.