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;
margin-bottom:12px;
padding:6px;
}
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)
Related Posts:
- get attachment title based on attachment id
- Get Image Description
- Media Upload Folder – how to manage
- Wrong image dimensions in Insert Media after add_image_size()
- PHP Fatal error: Call to undefined function download_url()
- Change WordPress image URLs via filter
- Upload multiple images in a custom metabox
- How can I hide media library images from general users?
- Strange img srcset behaviour
- Images uploading to wrong folder
- set_post_thumbnail_size not cropping featured images, but reducing proportionally
- How to add php to theme to show alt attributes
- Get URLs for All Sizes of Image via Admin Panel
- Automatically Add Caption in image
- Rename image during upload using date and time stamp?
- Images in the Twenty Fourteen theme
- Get author ID with attachment ID
- Show Post Excerpt in Image Attachement
- WP 3.4 has missing photo data
- What’s the best “insert all images” plugin?
- Image Quality Thumbnail Compression in WordPress?
- Gutenberg editor get post featured image by id
- How to add image id class?
- Local WordPress installation doesn’t crop images
- wp_get_attachment_url with specific image_size?
- Get meta data from image
- Shortcode for a link and thumbnail
- Bulk edit Gutenberg single images to change from linking to media file to attachment page
- Host images only on CDN
- Fuzzy Images in WordPress 4.4
- In Wordress one author can not see the other’s author uploaded images through media library
- How to add missing dimensions to all images to avoid cls?
- Prevent Image Pasting in RichText Component
- Why are images created by WP larger than the original uploaded image?
- Default Image Link Type Setting not Working
- Fallback for missing srcset images
- max_srcset_image_width doesn’t work as intended
- Background image resets after time (XAMPP)
- Replace image caption with its title and description
- Custom thumbnail size of image when uploaded
- Removing featured image from gallery?
- Is it a good practice to change media settings on theme activation?
- Insert File URL Links to Existing Images that Were Not Originally Linked to Themselves
- Difficulties setting a maximum image width
- Filter for post_thumbnail: link to small src and add data-attribute [duplicate]
- Why does WP allow to view and media item as a page
- How to fix a missing image
- Function to remove all classes on images inserted into posts?
- How to get the real file type for images that do not have an extension
- Images don’t update after being edited
- Display post image in a size defined by add_image_size()
- IMG size is set to width=”964px” or “100%”, but is shown as “634px” in browser
- big trouble with javascript
- Prevent WP from wrapping html in caption shortcode after ‘image_send_editor’ filter is applied
- wordpress 4.22 does not generate thumbnail images
- How to implement CSS-defined images from bootstrap site in wordpress theme
- Hide image gallery in Woocommerce if NO image [closed]
- All 3?: Responsive resizing of images + image width of actual image for small images + max-width for all larger images
- What is the best way to associate multiple images to one page?
- How can I get url from image tag in feed with fetch_feed?
- Fetch the latest post with attachment image
- Fetching uploaded images using Link URL
- View photo album without having to scroll down for each picture
- How can i sorting and display image order by siz in media library?
- x2 images for retina?
- Save media files (images) to database instead of the filesystem
- i want to change URL of WordPress image or rewrite in runtime
- Load url image full size in thumbnail, medium, large size
- After migration, all featured images using accentued characters in their file names are displayed “blanked”
- Adding numbers to an image based on co-ordinates
- A query to substitute images paths in gutenberg (website migration)?
- WP Large Images crash page
- WordPress can’t detect any thumbnails size?
- Remove image border in twentyeleven theme [closed]
- second featured post not displaying on page [closed]
- How to display posts with images in fullscreen slider
- What is the best way to handle Ajax image upload on front end?
- 403 Forbidden when accessing image in wordpress
- Why doesn’t WordPress make thumbnails for videos?
- For what does WP generate Thumbnails?
- Images are not shown
- Thumbnail gallery by date and taxonomy
- Adding multiple images on my site – without using plugins [closed]
- Remove the height limit on wordpress 3.4.2
- > added to images link in WordPress
- Image media upload problem in page editing modus?
- Thumbs and pictures not showing anymore
- Is there a good way to use CMS images with CSS
- Upload image from other server without resize?
- Images will not attach to posts after site migration
- How to access & display images from a post without textual content ( and vice versa) according to best wordpress practices
- Forcing absolute src links in the RSS feed
- where is images/image.jpg?
- Using the on-board image editor for featured images: edits are not being used
- change with CSS the color of an svg background image set with “background-image: url()”
- Img alt tag showing different value then entered
- What type to upload image within theme options?
- I am having trouble displaying an image at the top of a widget area [closed]
- Images uploaded in customized gallery do not link to media
- WordPress Site Broken and it gives Headers Already sent error