Skip to:
Content
Pages
Categories
Search
Top
Bottom

[resolved] 100x100px thumbnails in activity stream for images WITHOUT a caption.


  • rossagrant
    Participant

    @rossagrant

    Just wanted to pick people’s brains on what might be responsible here.

    Got a problem whereby if I insert an image into the post body WITHOUT A CAPTION ATTACHED and publish, the resulting thumb in the activity stream is a squashed up 100x100px thumb.

    If I place a caption on the image, the result is a thumbnail in the correct perspective.

    Not sure if it’s related but auto inserting a caption in the post edit screen ISN’T working either right now.

    You can place the caption in the picture edit screen, hit ‘insert in post’, but ONLY THE PICTURE is inserted, without the caption shortcode or the actual caption.

    You can then switch to visual editor, click on edit for the picture and only then re-type the caption and it does insert it.

    Got a dev looking at it, but I just wondered if anyone else had experienced this and could share their thoughts on what could be wrong.

    It’s definitely a theme issue, as it works well in BP-Default, and it happens with all plugins deactivated too.

    Just wondered if anyone could pinpoint it?

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Is the image being squished because of a particular CSS class on it? If so, which class(es)?


    rossagrant
    Participant

    @rossagrant

    Hey Paul, I don’t think it’s being caused by CSS as the images that display correctly (the ones that HAVE captions) have the exact same classes assigned to them:

    activity-list .activity-content img.thumbnail {
    border: 2px solid #EEEEEE;
    float: left;
    margin: 0 10px 5px 0;
    }
    .activity-inner img {
    max-width: 100% !important;
    }
    img {
    opacity: 1 !important;
    }
    img {
    border: 0 none;
    vertical-align: middle;
    }

    Something is causing captions to misbehave somehow, and when a caption isn’t present we get just this bog standard 100x100px image, regardless of the original dimensions of the post image.

    Very bizarre.

    Got @hnla looking at it, but the poor guy has been working like mad for me lately, so just wanted to put this out there incase anyone had seen this before and could cut down some time on us searching for the issue.

    Cheers everyone.


    rossagrant
    Participant

    @rossagrant

    Sorry guys, ignore this, we’ve tracked it down to the theme engine I’m using.

    Thanks for the time though :)

    :)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[resolved] 100x100px thumbnails in activity stream for images WITHOUT a caption.’ is closed to new replies.
Skip to toolbar