attached images

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dougdirac
    Senior Member
    • Jul 2012
    • 425
    • 4.2.X

    attached images

    This is something that needs to be easier, or perhaps someone can educate me on how to change these things in vB4.2.


    Where do I set the values for the Thumbnail, Medium, and Large options I see when I attach an image inline in a post.


    Where do I set the margin around floating images so text doesn't look to close to them.

    Also, how do I make medium the default size.


    Thanks.
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    You'd double click on the image while in wysiwyg mode after its attached.

    there is no way to set a default.

    Comment

    • dougdirac
      Senior Member
      • Jul 2012
      • 425
      • 4.2.X

      #3
      Thanks for the reply.

      So my users are forced to do an extra step. Currently in the vB options I have thumbnails set to 640px to avoid this, but that messes up the formatting of albums, I think.

      So where do I set the size of Medium and Large and how do I get a few px of space around them when they are floating.

      Comment

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

        #4
        You would need to change the Attachment Style Variables in the Style Manager.

        Styles & Templates -> Style Manager -> Style Variable Editor. Click the Go button for your style. Scroll down a bit to Attachments and you'll see the variables outlined for you.
        Translations provided by Google.

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

        Comment

        • dougdirac
          Senior Member
          • Jul 2012
          • 425
          • 4.2.X

          #5
          While there appears to be some padding around the image while in the editor. That padding disappears when I save the post. Why aren't the two the same? Also sometimes I just get a link to the attachment after saving, even though I see the image while in the editor. This behavior is inconsistent.

          Comment

          • dougdirac
            Senior Member
            • Jul 2012
            • 425
            • 4.2.X

            #6
            Any more help here?

            I put this in my additional.css
            Code:
            blockquote .align_left
            {
                margin: 1em 1em 1em 0;
            }
            
            
            blockquote .align_right
            {
                margin: 1em 0 1em 1em;
            }
            And that seemed to fix the spacing around the image. But I still have the problem where sometimes the image won't show, just an attachment link.

            Other times I double click on the image in the WYSIWYG and the browser whites out for a moment, but no Image Settings window appears.
            Last edited by dougdirac; Fri 31 Aug '12, 9:37pm.

            Comment

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

              #7
              An image will only show as an image if it is attached to that post or if it is in a quote where the attachment is on the same page. It is a resource and performance issue.

              I've had the second issue happen a few times as well. Haven't had time to really investigate and watch AJAX requests though. I usually curse silently and reload the page. I notice it happens more frequently if I open and cancel the box several times.
              Translations provided by Google.

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

              Comment

              • dougdirac
                Senior Member
                • Jul 2012
                • 425
                • 4.2.X

                #8
                Thanks for the reply.

                Originally posted by Wayne Luke
                An image will only show as an image if it is attached to that post or if it is in a quote where the attachment is on the same page. It is a resource and performance issue.
                This is happening when the image is being attached to that same post. It shows up in the WYSIWYG editor, but turns into a link when the page is saved. Not a true WYSIWYG if both aren't the same (as with the spacing issue).

                Comment

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

                  #9
                  Well it is a Richtext Editor.

                  Do you have a link to where the issue is? What type of image does it occur with?
                  Translations provided by Google.

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

                  Comment

                  • dougdirac
                    Senior Member
                    • Jul 2012
                    • 425
                    • 4.2.X

                    #10
                    I don't have a link to one at the moment. I typically end up deleting the post and starting over.

                    Is there a way to set the configuration of image attachments in the plain editor? For those times the double click won't work.

                    Comment

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

                      #11
                      No... It requires the double-click.
                      Translations provided by Google.

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

                      Comment

                      • dougdirac
                        Senior Member
                        • Jul 2012
                        • 425
                        • 4.2.X

                        #12
                        That's too bad. I was hoping I could hard code some parameters in where it says [ATTACH=CONFIG]. Where is that configuration info kept then?

                        Comment

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

                          #13
                          In the settings filed of the attachment table.
                          Translations provided by Google.

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

                          Comment

                          • dougdirac
                            Senior Member
                            • Jul 2012
                            • 425
                            • 4.2.X

                            #14
                            A couple other questions:

                            Why do some attachments dynamically resize with the browser window and others do not?

                            What is the difference between the thumbnail size set in AdminCP --> Settings --> Options --> Message Attachment Options and the thumbnail size set in the Stylevars?

                            Comment

                            • Zachery
                              Former vBulletin Support
                              • Jul 2002
                              • 59097

                              #15
                              The one set in the options is a always on kind of deal. The stylevar one uses some css stuff to resize images.

                              Comment

                              Related Topics

                              Collapse

                              Working...