• 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
    • Bug
    • Gallery Broken

    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: Gallery Broken

    • Issue Tools
      • View Changes
    1. issueid=4795 November 12, 2016 6:26 PM
      Ethic Ethic is offline
      New Member
      Gallery Broken

      Following up from previous bug report on this issue: HERE

      Update b002 resolved all issues except the gallery issue. After clearing cache as posted (Wiki Admin Panel > Maintenance > Rebuild Counters / Caches > Cache Parsed Content.) the issue remains. (Tested with multiple browsers).

      EX: http://i.imgur.com/hRR3F4L.gifv
    Issue Details
    Issue Number 4795
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.15
    Fixed Version (none)
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. November 13, 2016 9:27 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the current build. This happens when a height has been set to clip the images vertically, such as GALLERY with the heights argument. In vault/core/model/parser/handle/vw.php, find:
      Code:
      					if ($clipheight)
      					{
      						$img_styles[] = 'max-width: ' . $size . 'px';
      						$img_styles[] = 'max-height: ' . $clipheight;
      					}
      					else
      					{
      						if ($size > $maxx)
      						{
      							$size = $maxx;
      						}
      
      						$img_styles[] = 'width: ' . $size . 'px';
      
      						$y = intval($size / $aspect);
      						$img_styles[] = 'height: ' . $y . 'px';
      					}
      Replace with:
      Code:
      					if ($clipheight)
      					{
      						$img_styles[] = 'max-width: ' . $size . 'px';
      						$img_styles[] = 'max-height: ' . $clipheight;
      					}
      
      					if ($size > $maxx)
      					{
      						$size = $maxx;
      					}
      
      					$img_styles[] = 'width: ' . $size . 'px';
      
      					$y = intval($size / $aspect);
      					$img_styles[] = 'height: ' . $y . 'px';
      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 2:14 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.