How to post images on my blog with a pre-defined border

this is more a css problem than wordpress related – check style.css of your theme: the ‘border’ (actually a padding with background image) is only set for left, right, and center aligned images (like those from your first link), not for those with .alignnone (those from your second link): #content img.alignleft, #content img.alignright, #content img.aligncenter … Read more

Alter the image used for a user who has not uploaded a custom image yet

Here’s a function you can put in your theme’s functions.php file to force your own default avatar. Update the $myavatar line to point to your image path/name: // Adds a new default avatar to the list in WordPress admin add_filter( ‘avatar_defaults’, ‘mytheme_addgravatar’ ); function mytheme_addgravatar( $avatar_defaults ) { $myavatar = get_bloginfo(‘stylesheet_directory’) . ‘/images/my-avatar.gif’; $avatar_defaults[$myavatar] = … Read more

Add images to my theme with html

<img src = “https://wordpress.stackexchange.com/questions/38936/<?php bloginfo(“stylesheet_directory’);?>/images/file.png” /> http://codex.wordpress.org/Function_Reference/bloginfo

Fetching uploaded images using Link URL

I want to fetch that uploaded image re-size it into a thumbnail and display it on the browser when i publish it..all of this programmatically.. is there a way to do it? You don’t need to do this manually. The add_image_size() function and the wp_get_attachment_image_src() function allow you to create and display alternate sizes for … Read more