Forums
(@rbtying)
13 years, 2 months ago
Yeah, I’ll investigate more in 2012 (6 more hours!); the problem doesn’t seem to be with your plugin so much as the WordPress API call.
I think that it’s missing metadata in the database, or something, but for now my str_replace hack works.
Alright, temporary fix: $path_parts = pathinfo($thumb); $thumb = str_replace(‘.’.$path_parts[‘extension’], ‘-150×150.’.$path_parts[‘extension’], $thumb);
Not dynamic at all, but whatever.
I’ve tried regenerating a few times, which doesn’t seem to have made a difference, so I’m not too sure how to go forward.