Announcement

Collapse
No announcement yet.

Simple Border Around Uploaded Images

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Simple Border Around Uploaded Images

    How do I have a simple border around uploaded images on the forum?
    I was thinking something similar to the user album pictures.

    Giving the forum images a frame.
    Preferably with rounded corners.
    Mr_Running
    You Could Live a Long Time: Are you Ready to Run?

    For the improvement of social groups, please add tags, attachments, infractions, reputation, moderation tools, notifications, thread read marking, group discussions in What's new, category permissions and subcategories.
    More improvements: http://tracker.vbulletin.com/browse/VBIV-8784

  • #2
    You can try this:

    AdminCP > Styles & Templates >> Style Manager >> Style Variable Editor Attachments > attachment_box_border

    - - - Updated - - -

    scratch that, sorry, that's for the box itself
    To be or not to be... Where the hell is the question????
    My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

    Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
    CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
    Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

    Comment


    • #3
      Scratch.
      Mr_Running
      You Could Live a Long Time: Are you Ready to Run?

      For the improvement of social groups, please add tags, attachments, infractions, reputation, moderation tools, notifications, thread read marking, group discussions in What's new, category permissions and subcategories.
      More improvements: http://tracker.vbulletin.com/browse/VBIV-8784

      Comment


      • #4
        Sorry, I knew I seen it before, but I am not really awake

        try this instead
        AdminCP > Settings >> Options >> Message Attachment Options >> Thumbnail Creation:

        Click image for larger version

Name:	2012-08-16_1231.png
Views:	1
Size:	44.4 KB
ID:	3689889
        To be or not to be... Where the hell is the question????
        My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

        Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
        CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
        Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

        Comment


        • #5
          Merjawy,
          That worked great. Thank you
          It works on the Thumbnail but not when it's a full size image.
          The Frame on the full size image is what I was going after and similar to the user album border / frame.

          Maybe album border could be pulled with some additional css?
          Mr_Running
          You Could Live a Long Time: Are you Ready to Run?

          For the improvement of social groups, please add tags, attachments, infractions, reputation, moderation tools, notifications, thread read marking, group discussions in What's new, category permissions and subcategories.
          More improvements: http://tracker.vbulletin.com/browse/VBIV-8784

          Comment


          • #6
            You're welcome.

            additional.css would work.
            To be or not to be... Where the hell is the question????
            My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

            Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
            CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
            Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

            Comment


            • #7
              Does anyone has any idea how to put the additional.css together to pull the album border / frame on images.
              I bet this would look super sweet on any forum.
              Mr_Running
              You Could Live a Long Time: Are you Ready to Run?

              For the improvement of social groups, please add tags, attachments, infractions, reputation, moderation tools, notifications, thread read marking, group discussions in What's new, category permissions and subcategories.
              More improvements: http://tracker.vbulletin.com/browse/VBIV-8784

              Comment


              • #8
                Try this. Hope it's what you're after. haven't really checked it well

                PHP Code:
                .align_center {
                border5px solid black !important;

                To be or not to be... Where the hell is the question????
                My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

                Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
                CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
                Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

                Comment

                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                Working...
                X