How to insert images?

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default How to insert images?

    Hi guys!
    I am a newbie to ColdFusion MX and I would need a little help for a didactic
    job I?m doing.
    I have a Database where I want to store ?Datas & Pictures?, so working
    together with ColdFusion/Dreamweaver I build an ?insertpage? in Dreamweaver and
    everything works fine,
    But I got stuck on one little thing.

    My problem:
    I have 4 small pictures (let?s say 150x60 pixels) and I want to use them as
    icons
    in order to represent the categories of my Database.
    In the ?insert? page I would like to have the choice (a form) to insert one of
    the 4 icons to
    represent the category in that Data I need, the icon has to be shown
    top\right on the page.
    Any help is appreciate
    Tuxeno


    tuxeno Guest

  2. Similar Questions and Discussions

    1. What's faster - loop for insert or insert...select.
      What is faster if I'm moving large numbers of records (anywhere from 10,000 to 300,000 records per archive) from one query to another table? 1)...
    2. Multiple Insert or Looping Insert
      I built an application on an Access DB that allows a dispatcher to log trucks in the field at their location as they call in. There are three...
    3. insert TIF images
      Can I use <img> to insert TIF images with out any browser compatibility issues? Can I insert a pfd file in html.If so what tags should I use? Thanks
    4. Login - multi table insert for registrant; subsquent login insert page requests into joined 'Selection' Table
      Question regards insert and updates in sql server for a simple login script that requires registration the first time and only "email address" upon...
    5. INSERT statement contains fewer items than the insert list
      The block of code below shows how I am inserting field values into my dbase table: strSQLStatement = "INSERT INTO tblArticles...
  3. #2

    Default Re: How to insert images?

    Not sure what you're asking. You have a form page and to choose a category,
    you represent each cat with an icon, a gif/jpg and want to use them as
    selectors? Clue me in some more and maybe I can help.

    cf_code_warrior Guest

  4. #3

    Default Re: How to insert images?

    You got it, that's what I want to achive..
    Thank you for your time.

    tuxeno
    tuxeno Guest

  5. #4

    Default Re: How to insert images?

    If it were me, I would associate a radio button with each image, group them in
    some kind of sub table maybe, and use the radio button to test for the result.
    Unless you wanted to click on the image instead of a submit button, in which
    case provide other details and wrap the image round a submit handler of type
    img src. Need more help, holler.

    cf_code_warrior Guest

  6. #5

    Default Re: How to insert images?

    Thank you mate!
    For this matter the radio button is fine, would you suggest me some tips
    to handle this.

    tuxeno
    tuxeno Guest

  7. #6

    Default Re: How to insert images?

    Help with radio button handling? That's rather basic and not ColdFusion. If
    you are not familiar with HTML forms handling, you need to pick up a book on
    HTML, not CF. (CF does have its own dialect <CFFORM> but it's essentially
    some built in additional Javascript form validation stuff. (I write my own). )
    The absolute raw basics would be (without framing and cells), hit the button
    and get redirected to another page for handling or in this example the same
    page. Pick up the value of form.choice and proceed. <form action=''
    method='post'> <input type='radio' name='choice' value='1'> <img
    src='path/file' border=0> <input type='radio' name='choice' value='2'>
    <img src='path/file' border=0> <input type='submit' value='Choose!'>
    </form>

    cf_code_warrior Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139