• Resolved grimer

    (@grimer)


    Since I now have image uploads working again I note that all new images get a silly little border around them, how can I prevent/disable that function so it works like it used to do ?

    Yes, I can insert the image, then select it, and do cut and paste it into another part of the post, that will only bring the image and leave the border/frame hanging where it was inserted originally but without the actual image, but that’s one unnecessary extra step when adding images and formatting the post, so is there some way to skip this and just insert the image as-is ?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Are you talking about the caption border? If you don’t put a caption in, then that doesn’t get used, I believe.

    If you’re talking about something else, you’ll need to show us an example.

    Thread Starter grimer

    (@grimer)

    Ehrm, I guess ? ??
    I’ll get you a screenshot in a moment, but what do you mean by caption, where do I enter (or not) that ?

    When adding images I have the fields “K?lla” (Source), “Bildtitel” (Title or “Image title” I guess) and “Beskrivning” (Description), would it be any of those ?

    Thread Starter grimer

    (@grimer)

    By the way, all those 3 fields were there in 2.5 too.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    No, an example would be an actual link to the actual page itself where you see the border. A screen shot is useless.

    Also, on my screen there’s 4 text boxes for each image. Top to bottom: Title, Caption, Description, Link URL.

    You simply just have to change the CSS.

    If you are using IE7, download and install IE Doom Explorer.
    This will allow you to view detail information about items on your website. E.g. what CSS class the picture uses.

    When you know what CSS class your picture is using, simply go in and set borders to 0 (zero), or remove the border style alltogether.

    If you don’t want to install the IE Doom Explorer, you can view the HTML source by selecting View -> Source from the IE menu. But a bit more difficult to locate the code for the image.

    Thread Starter grimer

    (@grimer)

    Thanks Otto, I found it, by not entering anything the the second box, i.e. the Caption box (which is translated into something else in the Swedish WP language file) it works like it used to in 2.5 (where the box could still be filled out but never mind that), meaning I don’t get the caption box around the image.

    Thanks for a quick reply.

    I wrote an article on how to disable automatic captions, which includes the wp_config.php fix, as well as a more drastic solution ??

    From Otto:

    Just add this to your theme’s functions.php file:
    function no_caption($deprecated, $attr, $content) { return $content };
    add_filter('img_caption_shortcode', 'no_caption', 10, 3);

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can I disable that new 2.6 default border around all images ?’ is closed to new replies.