Migrate image from my old blog

The problem is a failed assumption, the media library is not a file directory, it doesn’t even look at the uploads folder. When you upload things to WP, it creates an attachment post, and it’s those that get shown in the media library. Otherwise, if it just listed what was in the uploads folder, every … Read more

Default image size not working

My guess is that there are spaces at the end of the option names: update_option(‘image_default_size ‘, ‘post_size’); update_option(‘image_default_align ‘, ‘right’); it should be: update_option(‘image_default_size’, ‘post_size’); update_option(‘image_default_align’, ‘right’);