WordPress. Fight!

So WordPress magically started not working correctly with images. When you upload an image to WordPress it resizes it to three different sizes and let’s you pick which one you want. For some reason it is realizing it’s doing that anymore. By realize I mean it’s resizing them, it just doesn’t list them as options. The problem with this is that things use this:

wp_get_attachment_thumb_url

That should return the url of the smallest image, the thumbnail. If there isn’t a thumbnail it should return ‘false’, instead it’s returning the url of the original image size. So I had to rig it up real quick and do a str_replace() to replace ‘.jpg’ with ‘-150×150.jpg’. This sucks because it still isn’t working on the backend.

If you have any clue how to fix this email me, josh at -getridofme-golgotron.com. I don’t have much faith in anyone answering my post on the WordPress Support forums, but you never know.

Posted By:  Cory Jacobs