Announcement

Collapse
No announcement yet.

trying to get an image variable to display/not display

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

    #16
    Originally posted by Darren B View Post
    When i upload to test it, the correct image url is not shown just the image.
    Come on Darren, you didn't expect Actinic to upload images to where you want them, did you?

    Have you included all the images in 'additional files'? I assume you want the images to be linked at domain.com/acatalog/image.png? If you want them domain.com/acatalog/images/image.png - the only way I got this to work properly was to manually create that folder and upload to the server via FTP.

    Comment


      #17
      but it uploads the image url as image.png
      That's what it should do as all pages are inside acatalog on the server. Actinic maintains these images paths for you.

      Say an image is Images/mybigpic.jpg within your site folder.

      Then when Previewing actinic will generate ../Images/mybigpic.jpg which is the path from PreviewHTML to the image.

      When uploading Actinic will generate mybigpic.jpg which is all that's required on the server.

      All files will be upoloaded automatically.

      If you're seeing different, try testing with .jpg images in case Actinic is bugging out on your PNG's.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #18
        ok

        i see what you mean but

        the images are already on the server http://www.twinson-decking.co.uk/twi...n-terrace1.png

        i need to go back and recheck everything, its odd though as hardcoding in a fragment works http://www.twinson-decking.co.uk/twi...nson_Face.html click the more images link in the 1st fragment

        Thanks for your help, ill take a new look and let you know. Going to be monday now though

        D

        Comment


          #19
          There are many other things to take into consideration when using Actinic variables inside JavaScript and PHP code. Some:

          encoding="perl" selectable="false"

          filenames containing the \ character may be treated as escaping the subsequent char.

          That's why I charge for my Lightbox add-on. There's a lot more code involved than you posted above, much of it dealing with Actinic quirks.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #20
            Thanks Norman

            you help is always appreciated

            D

            Comment


              #21
              OK

              i have been looking at this again and can see no reason why it works if i hardcode it into a fragment or product using !!<< >>!! but if i create a layout and use variables to populate it, it fails. Well that was a short lived experiment, i proved it works now i just need to decide wether i can make good use of it. If so i will be over to your place Norman thanks again

              oh actinic why is nothing ever that simple.

              Comment


                #22
                FM Norman i did not realise it was £35, serves me right for not checking in the 1st place be round later

                Comment


                  #23
                  OK having brought normans plugin, it is another i would recommend, simple to install and use.

                  Im glad i have had the chance to play with others myself, weres the fun in doing things the easy way

                  Comment

                  Working...
                  X