Blog Fixed Width For Embeded Images In Comments

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • FourTwenty
    Senior Member
    • Aug 2005
    • 637
    • 4.1.x

    [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
  • FourTwenty
    Senior Member
    • Aug 2005
    • 637
    • 4.1.x

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

    Comment

    • FourTwenty
      Senior Member
      • Aug 2005
      • 637
      • 4.1.x

      #3
      Anyone

      Comment

      • Abdulla Ashoor
        Senior Member
        • Feb 2005
        • 628
        • 5.6.4

        #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

        • FourTwenty
          Senior Member
          • Aug 2005
          • 637
          • 4.1.x

          #5
          Thank you Abdulla, I am truly grateful.

          Originally posted by Abdulla Ashoor
          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

          • Abdulla Ashoor
            Senior Member
            • Feb 2005
            • 628
            • 5.6.4

            #6
            Originally posted by 420
            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

            • FourTwenty
              Senior Member
              • Aug 2005
              • 637
              • 4.1.x

              #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

              • Abdulla Ashoor
                Senior Member
                • Feb 2005
                • 628
                • 5.6.4

                #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

                • FourTwenty
                  Senior Member
                  • Aug 2005
                  • 637
                  • 4.1.x

                  #9
                  I sent it to your inbox for privacy.

                  Thank you

                  Comment

                  • Abdulla Ashoor
                    Senior Member
                    • Feb 2005
                    • 628
                    • 5.6.4

                    #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

                    • FourTwenty
                      Senior Member
                      • Aug 2005
                      • 637
                      • 4.1.x

                      #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

                      • Abdulla Ashoor
                        Senior Member
                        • Feb 2005
                        • 628
                        • 5.6.4

                        #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...