Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2013
    Location
    Philippines
    Posts
    103

    Unanswered: Image URL to HTML field

    Hi Everyone,

    How can I add an image from a website using its URL like
    http://upload.wikimedia.org/wikipedi...om-chimney.JPG

    Thanks

    Ernie

  2. #2
    Join Date
    Jul 2012
    Location
    Ireland
    Posts
    815
    Provided Answers: 17
    To display a link to an image, you have to wrap in the image with HTML code.

    So for example, to display your selected image inside a HTML Field in brilliant database, this is the code you would use.

    Code:
    <IMG SRC="http://upload.wikimedia.org/wikipedia/commons/b/be/Oval-Ballroom-chimney.JPG" ALT="Image" WIDTH=100% HEIGHT=100%>
    Regards
    James

  3. #3
    Join Date
    Oct 2013
    Location
    Philippines
    Posts
    103

    Smile


  4. #4
    Join Date
    Jul 2012
    Location
    Ireland
    Posts
    815
    Provided Answers: 17
    PS... please note that a HTML field is only for displaying content, it does NOT store content.

    If you want the image actually stored inside your database, then you need to use a variable that asks the user what the URL is, and you need that to populate a Image Field.

    Please see attached example. Press Add Image, and enter in the URL to the image you provided. This will then download, resize it, and save it.

    You can modify this so that the image is not resized if you want and so on....

    Regards
    James
    Attached Files Attached Files

  5. #5
    Join Date
    Oct 2013
    Location
    Philippines
    Posts
    103

  6. #6
    Join Date
    Oct 2013
    Location
    Philippines
    Posts
    103
    James,

    I replied to this post a few days ago, but for some reason my post didn't appear in the thread.

    Anyway thanks for your help.

    Ernie

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •