Announcement

Collapse
No announcement yet.

files not uploading

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

    files not uploading

    I use some javascript that requires the use of the VALUE= in a select box, e.g.

    Code:
    <OPTION VALUE="<actinic:variable name="Prod_All_ImageA_filename" />" NAME="<actinic:variable name="Prod_All_ImageA_filename" />_thumb.jpg">
    It used to work fine, but when I cleared my site and reuploaded, the file referenced above is no longer uploaded with the rest of my files. I checked the produced html and that is fine:

    Code:
    <OPTION VALUE="table-lighter-multi.jpg" NAME="table-lighter-multi.jpg_thumb.jpg">
    Has something changed in recent versions of actinic or have I messed up ages ago and not realised? If this will not upload the file, can I use another method (in html) that will cause it to be uploaded but not shown to the customer?

    Any ideas?

    Thanks,
    Paul.

    #2
    Actinic won't automatically upload filenames unless it sees them as part of a src="<filename>" type fragment.

    E.g. <img src="myfile.jpg"> should work but <OPTION VALUE="table-lighter-multi.jpg"> won't.

    You'll need to upload these manually via Design / Additional Files.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Some dummy HTML within the OPTION tags might do it. E.g. If I use:
      Code:
      <option src="image1.gif"  value="whatever">Opt1</option>
      <option src="image2.gif"  value="whatever">Opt2</option>
      then Actinic seems to upload image1.gif and image2.gif. Browsers are meant to ignore tags or tag fragments they don't understand so you should be OK. Check in all browsers to be sure.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment

      Working...
      X