Announcement

Collapse
No announcement yet.

How to point the IMG tags to a path on my domain?

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

  • How to point the IMG tags to a path on my domain?

    Is it possible to edit the IMG tags, such that they'll always point to a path on my own domain?

    For example, if someone types this:
    [ IMG] myfile.gif [ /IMG]

    Then, it points to this URL:
    http :// www. mydomain. com/ myfolder/ myfile.gif

    Possible?
    If yes, then how?
    Thanks,
    Still Waters

  • #2
    No - at least not without hacking. You will need to use the full URL.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      Thanks for the quick response, Steve.
      I'll check out www.vbulletin.org.
      Thanks,
      Still Waters

      Comment


      • #4
        Follow-up question, please. Is it possible to create a custom vB code that will accomplish what I'm requesting? If yes, what code should I place in it? Thanks.
        Thanks,
        Still Waters

        Comment


        • #5
          I believe that is beyond the scope of what a vB code can do.
          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
          Change CKEditor Colors to Match Style (for 4.1.4 and above)

          Steve Machol Photography


          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


          Comment


          • #6
            If it's a local file, making a code that does <img src="{param}" border="0" alt=""> theoretically SHOULD link to that file. Whether it actually does or not is anybody's guess. Of course, people will have to use http:// before non-local files with that vBcode, but such is the way things go.
            Fool's Gold: Discussion of rock 'n' roll, movies, A Song of Ice and Fire, Discworld, The Wheel of Time, The Lord of the Rings, Dragonlance, Forgotten Realms, literature, games, and more. It's ace.

            Last.FM * LiveJournal

            Comment


            • #7
              Originally posted by Aaron Freed
              If it's a local file, making a code that does <img src="{param}" border="0" alt=""> theoretically SHOULD link to that file. Whether it actually does or not is anybody's guess. Of course, people will have to use http:// before non-local files with that vBcode, but such is the way things go.
              Is this valid for a vB code?

              <img src="http://www.mydomain.com/{param}" border="0" alt="">

              ... where {param} is the filename.
              Thanks,
              Still Waters

              Comment


              • #8
                The quickest way to find out is try it and see if it works.
                Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                Change CKEditor Colors to Match Style (for 4.1.4 and above)

                Steve Machol Photography


                Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                Comment


                • #9
                  Originally posted by Steve Machol
                  The quickest way to find out is try it and see if it works.
                  Well, that was an excellent suggestion. Yes, it works! This accomplishes what I requested -- without even having to hack my board. Thanks, Steve and Aaron.
                  Thanks,
                  Still Waters

                  Comment


                  • #10
                    Where are vB codes modified?

                    Comment


                    • #11
                      Admin CP -> Custom BB Codes
                      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                      Change CKEditor Colors to Match Style (for 4.1.4 and above)

                      Steve Machol Photography


                      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                      Comment

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