WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The images in this blog post: http://wordfruit.com/blog/the-hole-through-the-earth-3/

...have borders around them -- hatched lines.

But in this post: http://wordfruit.com/blog/copywriting-for-fish/ there's no border around the image.

The images in the first example above I think I posted using the 'From url' function.

In the second example listed, I used the 'upload' function when posting the image.

Is there a way of posting images using the 'upload' function so that the border appears?

share|improve this question
up vote 1 down vote accepted

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 {
    background:url("images/wf-hashes-wht.gif") repeat scroll center center transparent;

if you want the same behaviour for non-aligned images, add #content img.alignnone to the above list (don't forget to add the comma)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.