+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Administrator KJ is on a distinguished road KJ's Avatar
    Join Date
    Sep 2008
    Location
    London, UK
    Posts
    495
    Blog Entries
    2
    Rep Power
    10

    Default Image Resizer - using nCode Script

    Image resizer using nCode script

    I was looking for some simple script to resize large image but could not find it, so I made this hack.
    nCode script (edited) is only 6KB not like highslide script (stock) which is 893KB.

    This hack resizes images in posts, signatures, blog home page and blog entry page.

    You have the option to:
    Diasble the hack.
    Choose the resize mode.
    Default Maximum height and width.
    Enable and disable signature resize option.


    Installation:
    Upload the ncode_imageresizer.js script to clientscript folder.
    Import the XML file via Plugins & Products > Manage Products > Add/Import Products.



    To edit the background color and border color of warning block edit sevenskins_imageresizer template.

    Code:
    table.ncode_imageresizer_warning {background: #FFFACD; color: #000000; cursor: pointer; border: 1px solid #D3D3D3; margin-bottom: 4px;}

    Download this modification from: http://www.vbulletin.org/forum/showthread.php?t=237650


    .

  2. #2

  3. #3
    Administrator KJ is on a distinguished road KJ's Avatar
    Join Date
    Sep 2008
    Location
    London, UK
    Posts
    495
    Blog Entries
    2
    Rep Power
    10

    Default

    You are welcome.

  4. #4

    Default

    it would be the best if you can make is just like this

    http://www.ncode.nl/vbulletinplugins/1/file/file

    when you click the "Click here for the Full Image!!!" it will resize to big image on the same post, but when you click the "Click here to change it to Small Image!!!" the image will resize to smaller again.. this'll be the best image resizer..

    the ncode.nl isn't working now in 4.0.3.. dunno why..

  5. #5

    Default

    Hi

    Doesn't work on Vb 4.0.4

  6. #6
    Administrator KJ is on a distinguished road KJ's Avatar
    Join Date
    Sep 2008
    Location
    London, UK
    Posts
    495
    Blog Entries
    2
    Rep Power
    10

    Default

    vb 4.0.4 has bulit in image resizer, which resizes image in the posts, so you dont need this anymore.

  7. #7

    Default

    Really ?

    Where is the new option please ?

  8. #8
    Administrator KJ is on a distinguished road KJ's Avatar
    Join Date
    Sep 2008
    Location
    London, UK
    Posts
    495
    Blog Entries
    2
    Rep Power
    10

    Default

    Resizing images as a stylevar (postbit_content_max_image_width) - this will enable you to resize images that are posted as they appear in the end users browser
    From vBulletin website.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts