image URL changed in wordpress

Using WordPress plugin – Search And Replace This is simple WordPress plugin, Does database query to replace any content. This plugin can be used to replace a string ( say – localhost:8888 ) with a new one ( domain.com ) . Direct updating MySQL Database – Or, If you’ve access to MySQL Server you can … Read more

Control resizing of uploaded images

Why not set your own image sizes from within your theme in functions.php? add_image_size( ‘some-image-size-name’, 500, 300 ); Then you can call that size you want from your template. <?php echo get_the_post_thumbnail( $post_id, $size, $attr ); ?> Links Add image size: http://codex.wordpress.org/Function_Reference/add_image_size get post thumbnail: http://codex.wordpress.org/Function_Reference/get_the_post_thumbnail

Inserting Media to WordPress Posts

If you use “Insert by URL” the image is loaded from whatever URL your provide. It is not uploaded to your server at all, nor is any information added to the postmeta table as far as I can tell. It seems to be equivalent to simple hand-writing the HTML into the post body. You can … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)