• 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
    • Attachment placement

    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: Attachment placement

    • Issue Tools
      • View Changes
    1. issueid=4983 April 2, 2017 8:39 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Attachment placement

      Wiki attachments thumbs are displayed on the bottom of a wiki in a weird way. The first image does not left align. The second image is below it, the third is some to the right and there is a second line of attachments starting halfway the page.
      It looks like it is caused by the different dimensions of the attachments. Some are landscape dimension and others skyscraper dimensions. Some small others a big bigger.
      it doesnt look right.
    Issue Details
    Issue Number 4983
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Attachments
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.17
    Fixed Version 4.1.0 RC 1
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. April 4, 2017 11:53 AM
      pegasus pegasus is offline
      VaultWiki Team
      I'm having trouble duplicating the issue. I think you're talking about how the importer converts uninserted attachments into FILE tags on the last line of an article. On the following page, I made a string of attachments that match the syntax which would be outputted by such a conversion: https://www.vaultwiki.org/xf-wiki/in...ts-on-One-Line
      I included a mixture of landscape, skyscraper, and square images.

      Perhaps a link to the affected wiki page would help.
      Reply Reply  
    2. April 4, 2017 12:18 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Please see my ticket for the details.
      Reply Reply  
    3. April 5, 2017 10:59 AM
      pegasus pegasus is offline
      VaultWiki Team
      Please see the current state of the wiki page in your ticket. Would you prefer something like that for attachments (obviously with the colors fixed)?
      Reply Reply  
    4. April 5, 2017 11:20 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      That looks pretty bad because:
      - it makes 2 rows instead of one
      - there is a lot of whitespace
      - buttons are out of place

      But the concept is good though and is in essence the same as what other XF addons use. Please use fotorama so that it is the same as other XF addons we use and just looks very good.
      http://fotorama.io/
      Reply Reply  
    5. April 5, 2017 2:32 PM
      pegasus pegasus is offline
      VaultWiki Team
      The reason there is white-space and 2 rows is because the number of images I defined per row exceeds the width that will fit on your device; it wraps to a new line, as expected. Also, there is a skyscraper image (to eliminate a popping effect, the scroll container must be tall enough to accommodate the largest image).

      You are requesting a major change for a standard feature of VaultWiki, where the benefit of that change will only affect a small number of imports and will be obsolete in a few months anyway. It is not clear to me whether fotorama supports:
      1. multiple rows in one -rama
      2. limits on the number of images per row
      3. when combining 1 & 2, multiple "pages" of images in one -rama
      4. captions for each image and their thumbnails
      5. images of various aspect ratios and sizes without "popping" (especially for the main image when clicked)

      It uses jQuery, and is therefore not compatible with our existing lazy-loader.

      All of this is required for the GALLERY tag as designed, needs to be customizable with each use of the GALLERY tag, and for the most part, already works as expected in the current implementation. The existing implementation can possibly be improved by:
      - forcing square thumbnail images inside the GALLERY (so the thumb is not skyscraper). This reduces whitespace by reducing the need for the popping solution (except for the main gallery image).
      - possibly finding better responsive rules for the gallery rows (without reintroducing popping). Possibly, square thumbnails can be made fluid, and shrink automatically to prevent wrapping to a new line. If the thumbnails are below a certain width, captions automatically disappear and become tooltips only.
      - redrawing the GALLERY if the window is resized, if still necessary after the previous improvements
      - on small width devices that have touch support, eliminate the arrow buttons and use swipes to move left or right.

      My proposal was to wrap converted images in a GALLERY tag, which would reduce the likelihood of a new line forming, especially if a small number of images is defined per row and scrollable mode is therefore activated. If you do not prefer that idea over the current behavior, then we don't really have to do anything to improve non-inserted-attachments-that-are-converted-to-FILE-tags-at-the-bottom-of-the-page-during-an-import, because whatever solution we make will be obsolete when those attachments are at long last no longer imported that way.
      Reply Reply  
    6. April 5, 2017 4:31 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I think the main misplacement is caused by the IMGR bbcode which for some reason I cant get to work.
      The attachments should be places at those locations though its logical that the importer doesnt handle this.
      Having the attachments at the bottom is only a temporary solution because I will need to find a way to remove them there and to re-add them to their correct location.

      Fotorama doesnt have rows. It has an unlimited horizontal scroll.
      It has captions.
      Ratio and sizes work well.
      Works well on mobiles, responsive and swiping.
      Provides a very good looking and easy to use gallery.

      In regards to the current gallery: all thumbs should have the same height, so that the issue of multiple rows is resolved.
      Reply Reply  
    7. August 1, 2017 3:13 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Pegasus do you need more feedback on this one?
      Reply Reply  
    8. January 10, 2020 2:15 AM
      pegasus pegasus is offline
      VaultWiki Team
      Marking this as fixed in the next release. A number of changes discussed earlier have been made.

      Importers that add attachments as BB-Code at the end of content will wrap those BB-Codes in the wiki GALLERY tag. If there are more than 5, that tag renders as horizontally scrollable.

      The wiki GALLERY tag has been updated:
      - Improved responsiveness, where the thumbnails will change size based on the viewport width, and where the number of thumbnails allowed per line also adjusts based on the viewport width. On narrow widths, thumbnail captions disappear.
      - Thumbnails are restricted to squares to prevent display issues with differing aspect ratios, so some thumbnails may be cropped.
      - The arrow style has been tweaked with transparent gradients, so they take up less space, and some images are permitted to overlap behind the arrows on narrow widths. The arrows now respond to gestures on touch devices.
      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:48 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.