• 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 3.x Series
    • Bug
    • Can not align images in wiki articles to right or left, or display them in thumbnails

    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: Can not align images in wiki articles to right or left, or display them in thumbnails

    • Issue Tools
      • View Changes
    1. issueid=2257 March 10, 2011 7:24 AM
      chinatravellog chinatravellog is offline
      New Member
      Can not align images in wiki articles to right or left, or display them in thumbnails

      I am using the latest versions of both vb and vaultwiki, and I can not align images in wiki articles to right or left, or display them in thumbnails; But in CMS and Forum, those operations can be done properly. Can anyone help? thanks.
    Issue Details
    Issue Number 2257
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Images
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 3.0.11
    Fixed Version 3.0.12
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 10, 2011 4:41 PM
      pegasus pegasus is offline
      VaultWiki Team
      Modify the template vw-tabbed.css, and add the following to the end:
      Code:
      .vw-text .align_left {
      	float:left; /* dont use stylevar for this */
      	margin: 1em;
      	margin-left: 0;
      }
      
      .vw-text .img_align_center {
      	display: block
      	width: auto;
      	margin: 0 auto;
      	text-align: center;
      }
      
      .vw-text .align_center {
      	margin: 0 auto;
      }
      
      .vw-text .align_right {
      	float:right; /* dont use stylevar for this */
      	margin: 1em;
      	margin-right: 0;
      }
      
      .vw-text .size_thumbnail {
      	max-height:{vb:stylevar image_thumbnail_max};
      	max-width:{vb:stylevar image_thumbnail_max};
      }
      
      .vw-text .size_medium {
      	max-height:{vb:stylevar image_small_max};
      	max-width:{vb:stylevar image_small_max};
      }
      
      .vw-text .size_large {
      	max-height:{vb:stylevar image_large_max};
      	max-width:{vb:stylevar image_large_max};
      }
      
      .vw-text .size_fullsize {
      	max-width:100%;
      	overflow:hidden;
      }
      
      .vw-text .caption {
      	color:{vb:stylevar vbcms_article_image_caption_color};
      	font:{vb:stylevar vbcms_article_image_caption_font};
      	text-align:center;
      	margin-top:{vb:math {vb:stylevar padding}/2};
      }
      Reply Reply  
    2. March 11, 2011 1:11 AM
      chinatravellog chinatravellog is offline
      New Member
      thank you, It works.
      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 5:57 AM.
    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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.