Image Size

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tripkebab
    New Member
    • Oct 2003
    • 25

    Image Size

    Hello have a dumb question to add

    When a user clicks the insert image button like i am about to do here...



    Ok well it just shows a link here but it shows the full size image on my forum.

    As you can see the image is 800 by 600 resolutuion. How can i limit the size of the inserted image as large ones screw up my design.

    Or how can i get vbulletin to thumbnail the image and then display the larger original when clicked?

    I dont want to just display the link.

    Thanks
    John
    http://www.focusu.com
    http://www.fu-forums.com
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    There is no built-in way to do this when they use the [img] tag. It may or may not be possible by modifying the code. You can try searching or asking for help with this over at www.vbulletin.org.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • Vtec44
      Senior Member
      • Jan 2005
      • 1555
      • 3.7.x

      #3
      I ran into the same problem, so I made a custom BB code for my site. Here's a thread on my site that's using the custom BB code that I made http://www.sportbikers.net/forums/showthread.php?t=3393, very close to what you're looking for.

      The new Custom BB code is called {thumb}

      The replacement HTML for it is below. You can change the width value to whatever you like, but keep in mind that it has to be small enough so when people quote the image, it won't screw up your design.

      Code:
      <A HREF="{param}" target="_blank"><IMG SRC="{param}" WIDTH="450" border="0" alt="click to enlarge"></A>
      Last edited by Vtec44; Sat 19 Feb '05, 8:57pm.
      So Cal Sportbike forum - So Cal Moto - Kawasaki Ninja 250R Forum - Custom vinyl decals - Southern California camping forum

      Comment

      • Joseph777
        Senior Member
        • Sep 2004
        • 631
        • 3.0.3

        #4
        Originally posted by Vtec44
        I ran into the same problem, so I made a custom BB code for my site. Here's a thread on my site that's using the custom BB code that I made http://www.sportbikers.net/forums/showthread.php?t=3393, very close to what you're looking for.

        The new Custom BB code is called {thumb}

        The replacement HTML for it is below. You can change the width value to whatever you like, but keep in mind that it has to be small enough so when people quote the image, it won't screw up your design.
        Hey Vtec, what exactly does this do? Curious...

        Comment

        • Vtec44
          Senior Member
          • Jan 2005
          • 1555
          • 3.7.x

          #5
          I created a new BB code called {thumb}. The {thumb} BB code does exactly what the original {img} code, but the {thumb} code also resizes all inline pictures to 450px width and make the picture clickable. When my users click on the picture, it will show the picture in its original size in a new browser window. That way, when they link an image from a different web server, it won't ruin my site design even if the picture is much bigger.
          So Cal Sportbike forum - So Cal Moto - Kawasaki Ninja 250R Forum - Custom vinyl decals - Southern California camping forum

          Comment

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