• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Feature
    • Store custom thumbnail sizes for [file|width]

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Store custom thumbnail sizes for [file|width]

    • Issue Tools
      • View Changes
    1. issueid=6392 October 18, 2023 9:50 AM
      mazzly mazzly is offline
      Junior Member
      Store custom thumbnail sizes for [file|width]

      when using:

      Code:
      [file]Image:foo|400px[/file]
      It does not respect the wanted value... It renders the full-size image, which can be much larger than that...

      It seems that the `/wiki-attachment/?pid=foo&x=X`-path does not respect the X value, unless it matches the "thumbnail size" defined in the options...

      I'm guessing this is by design. but also not clearly documented e.g. under Special:WikiCodeList

      Would it be possible to either:
      - Fix it to allow custom X sizes (maybe not wanted since it could be used to flood attachment files?)
      - Allow defining multiple "allowed" sizes in options, and then being able to use this value for [file] tags

      Cheers
      //Jonathan
    Issue Details
    Issue Number 6392
    Issue Type Feature
    Project VaultWiki 4.x Series
    Category Attachments
    Status Accepted
    Priority 7 - Minor Features / Enhancements
    Suggested Version 4.1.7
    Implemented Version (none)
    Milestone VaultWiki 4.2
    Software DependencyXenForo 2.x
    License TypePaid
    Votes for this feature 0
    Votes against this feature 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. October 19, 2023 9:38 AM
      pegasus pegasus is online now
      VaultWiki Team
      The attachment URL will only use one of the preset thumbnail sizes available to it, or the full attachment if none is available. This includes the base thumbnail size that you've chosen, as well as any multiples based on your chosen UHD-related settings.

      When the user includes FILE with a specified width, it should automatically pick the next largest thumbnail than that width for displaying inline, using inline style to resize down to the desired width.

      There is code in there that tracks the widths that are really requested, with the idea being that at some point we add a way for admins to whitelist some of those values, but no one ever expressed a need for it, so we never created an interface. We can add that to 4.2 since there are a lot of FILE-related updates scheduled for that branch.

      I am changing this to a feature request.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 9:16 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.