Announcement

Collapse
No announcement yet.

Blog Fixed Width For Embeded Images In Comments

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Blog] Blog Fixed Width For Embeded Images In Comments

    Large photos in comments on blogs are not being set to a fixed width, causing them to go outside of the frame and look terrible.

    I started looking for a mod for this, then realized this is a standard VB product that should be supported.

    What are your thoughts?

    Thank you.

    - - - Updated - - -

    Looks like nobody ever replied to this thread about it either
    https://www.vbulletin.com/forum/show...Blogg-to-large

  • #2
    Really hoping a VB technical support person can figure this out for us.

    Comment


    • #3
      Anyone

      Comment


      • #4
        Add this to your additional.css or blog.css template:

        Code:
        #message_list .postcontainer  .content img {
        	max-width:400px;	
        }
        change the value to meet your own needs.
        Please feel free to contact me if you have any questions or concerns

        Links: vBulletin Manual - Code Documentation - FAQ - Bug Tracker - Lemon Juice
        vBulletin 5 Connect: Extensions - Articles - Features - Purchases

        Comment


        • #5
          Thank you Abdulla, I am truly grateful.

          Originally posted by Abdulla Ashoor View Post
          Add this to your additional.css or blog.css template:

          Code:
          #message_list .postcontainer  .content img {
              max-width:400px;    
          }
          change the value to meet your own needs.
          Just curious, what happened when VB fixes this bug in an update, could it override our edit and/or cause any possible issues later?

          Comment


          • #6
            Originally posted by 420 View Post
            Just curious, what happened when VB fixes this bug in an update, could it override our edit and/or cause any possible issues later?
            it could be, but you always can remove the code you added either manually or by reverting your template. Although, it will affect your updated style only.
            Please feel free to contact me if you have any questions or concerns

            Links: vBulletin Manual - Code Documentation - FAQ - Bug Tracker - Lemon Juice
            vBulletin 5 Connect: Extensions - Articles - Features - Purchases

            Comment


            • #7
              My developer says it's not working. Blogs have fixed width for images, however blog comments still do not restrict the width on large images.

              Comment


              • #8
                Could you please post a link of a blog with large photo comment in your website?
                Please feel free to contact me if you have any questions or concerns

                Links: vBulletin Manual - Code Documentation - FAQ - Bug Tracker - Lemon Juice
                vBulletin 5 Connect: Extensions - Articles - Features - Purchases

                Comment


                • #9
                  I sent it to your inbox for privacy.

                  Thank you

                  Comment


                  • #10
                    Add this to additional.css or blog.css template:

                    Code:
                    .blogentrybit .blog_content img {
                      max-width:680px;
                    }
                    These customization should work for img tags inside comments, adjust the max width as you like
                    Please feel free to contact me if you have any questions or concerns

                    Links: vBulletin Manual - Code Documentation - FAQ - Bug Tracker - Lemon Juice
                    vBulletin 5 Connect: Extensions - Articles - Features - Purchases

                    Comment


                    • #11
                      My programmer says,

                      It seems like the fix that they gave us is for the blog.php page.

                      We're having a problem on the members profile "blog" tab, not the actual blog.php page. The images are resizing perfectly on the blog itself, just not in the members profile under the "blog" tab.
                      What are your thoughts?

                      Comment


                      • #12
                        yes it's for blog page. but it's for blog comments not the blog itself. I need to look into the code of blog of your style member profile page to determine what class controlling the area around the image html tags. Why you don't try to use a 'inspect element' tool to find out what css class you need in order to give the image fixed width?
                        Please feel free to contact me if you have any questions or concerns

                        Links: vBulletin Manual - Code Documentation - FAQ - Bug Tracker - Lemon Juice
                        vBulletin 5 Connect: Extensions - Articles - Features - Purchases

                        Comment

                        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                        Working...
                        X