Announcement

Collapse
No announcement yet.

Display images in post

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

  • Display images in post

    How can I set uploaded images to display in posts rather than appear as links that must be clicked?

    Additionally, if uploaded images *are* displayed as links, how can I set them to always open in a new window? (IE internet options to reuse window or not have no effect)

    TIA
    www.shopfloortalk.com

  • #2
    I believe what you're after is thumbnails. Go to:

    Admin CP --> vBulletin Options --> Message Attachment Options --> Enable Thumbnails --> Yes

    Then go to:

    Admin CP --> vBulletin Options --> Server Settings and Optimization Options --> GD Version

    ... set it to the likely GD version that is displayed there.

    Finally, you need to rebuild the thumbnails:

    Admin CP --> Import & Maintenance --> Update Counters --> [Rebuild Attachment Thumbnails]

    As for opening in a new window, go to:

    Admin CP --> Attachments --> Extensions & Sizes

    ... go through each attachment type and set Open this attachment in a new browser window? to Yes.
    Bugdar: PHP bug tracking software that is beautiful, fast, and robust.

    Comment


    • #3
      Originally posted by daemon

      As for opening in a new window, go to:

      Admin CP --> Attachments --> Extensions & Sizes

      ... go through each attachment type and set Open this attachment in a new browser window? to Yes.
      I've been through this section and whether I Edit or Add a New Attachment Type, I don't have an *Open this attachment in a new browser window?*.

      The only field that isn't a size specification reads "Mime Type: This controls what your browser does with the attachment. Leave blank if you don't know what to put here and the user will generally be prompted to download the attachment."

      Can this be set somehow to open in a new window?
      www.shopfloortalk.com

      Comment


      • #4
        I'm quite positive that the option is there. Are you sure you're on vB 3.5? It should look like this:

        [ATTACH]15826[/ATTACH]

        If you're on vB 3.0.x:

        Go to:

        Admin CP --> Styles & Templates --> Style Manager --> --> Postbit Templates

        Edit the postbit_attachment template and find:

        HTML Code:
        <a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]">
        Replace it with:

        HTML Code:
        <a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]" target="_blank">
        Repeat again (if you want it to work for moderated attachments and thumbnails) in the postbit_attachmentmoderated and postbit_attachmentthumbnail templates.
        Bugdar: PHP bug tracking software that is beautiful, fast, and robust.

        Comment


        • #5
          Originally posted by daemon
          I'm quite positive that the option is there. Are you sure you're on vB 3.5? It should look like this:
          Must I have thumbnails enabled to access it?

          http://www.cutterod.com/bear_stuff/Clipboard01.jpg
          www.shopfloortalk.com

          Comment


          • #6
            I believe that you do need thumbnails enabled for this feature.
            Bugdar: PHP bug tracking software that is beautiful, fast, and robust.

            Comment


            • #7
              Originally posted by daemon
              I'm quite positive that the option is there.
              It's not there! gr
              Life may not be the party we hoped for, but while we are here we might as well dance

              Comment


              • #8
                Originally posted by TownGirl
                It's not there! gr
                Town girl
                you are in the vb 3.5 forum
                i'm running vb 3
                (she posted this on my behalf)

                that might be why it's not the same
                this is my vb3 screen shot of that

                Comment


                • #9
                  Originally posted by deano
                  Town girl
                  you are in the vb 3.5 forum
                  Oh well.. same problem anyway lol


                  Originally posted by deano
                  this is my vb3 screen shot of that
                  Life may not be the party we hoped for, but while we are here we might as well dance

                  Comment


                  • #10
                    Originally posted by TownGirl
                    Oh well.. same problem anyway lol


                    yes
                    true

                    but i think in VB 3.5 the new window opening
                    is the default

                    Comment


                    • #11
                      Originally posted by deano
                      but i think in VB 3.5 the new window opening
                      is the default
                      that would be OK if the default could be changed
                      Life may not be the party we hoped for, but while we are here we might as well dance

                      Comment


                      • #12
                        Originally posted by TownGirl
                        that would be OK if the default could be changed
                        you can't in vb3

                        Comment

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