Image resizing doesn't work after upgrade

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kolenoblata
    Member
    • Apr 2009
    • 62

    [Forum] Image resizing doesn't work after upgrade

    Hello,

    After upgrade from 4.0.5 to 4.1.6 image resizing doesn't work. In stylevars is still postbit_content_max_image_width = 600px but images width is 800px always, doesn't matter which value I add.
    I even try to fix this by adding line in additional.css

    .postbody IMG{
    max-width: 85%;
    }

    but nothing helped.

    Thanks
  • Troy Roberts
    Senior Member
    • May 2000
    • 339

    #2
    Can I get a link?

    Comment

    • kolenoblata
      Member
      • Apr 2009
      • 62

      #3
      Globalni forum koji obuhvata vecinu tema iz svakodnevnog života.

      Comment

      • BirdOPrey5
        Senior Member
        • Jul 2008
        • 9613
        • 5.6.3

        #4
        Sorry, can we get a link to a specific post where it isn't working? Also please try it on the default style. To create the default style go to Admin CP -> Style Manager -> Add New Style -> And create a new style with no parent style, that is the default style.

        Comment

        • kolenoblata
          Member
          • Apr 2009
          • 62

          #5
          I already tried with default style and it is same.

          Here is one example: http://serbianforum.org/macke/73421-macke-2.html

          thanks for support.

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 74122

            #6
            Try setting your width to to the .content img class.

            Note the lowercase letters. CSS is case sensitive.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            • kolenoblata
              Member
              • Apr 2009
              • 62

              #7
              Sorry, I lost you now.

              Comment

              • Wayne Luke
                vBulletin Technical Support Lead
                • Aug 2000
                • 74122

                #8
                You have the following CSS:

                .postbody IMG{
                max-width: 85%;
                }

                I am saying this incorrect and it should be:

                .content img{
                max-width: 85%;
                }

                Or even:

                .postbit .content img{
                max-width: 85% !important;
                }

                That is just the observation by using Firebug's Inspect Element tool.
                Translations provided by Google.

                Wayne Luke
                The Rabid Badger - a vBulletin Cloud demonstration site.
                vBulletin 5 API

                Comment

                • kolenoblata
                  Member
                  • Apr 2009
                  • 62

                  #9
                  Just tried both but didn't help.

                  Comment

                  • kolenoblata
                    Member
                    • Apr 2009
                    • 62

                    #10
                    I got PM from user Andaas with solution. It is very simple, all I needed to do is change another value in stylevars.

                    Common > image_medium_max

                    Thank you Andaas and thanks to people in staff who tried to help.

                    Comment

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