Announcement

Collapse
No announcement yet.

URGENT: Update Website uploads HTML without paths to images

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

    URGENT: Update Website uploads HTML without paths to images

    [Post by Clive, not Andy - I am helping him fix his site]
    OK, so Andy's laptop broke so he had to get a new one. He reinstalled Actinic and took a copy of the Site1 folder from the old disk and everything appeared to be fine - the previews worked etc.
    However, when he uploaded the site to the server, the resulting HTML is missing the paths to the images.
    So for example, he has a section which has the image "Images\Buttons\New Buttons\Accessories-By-Brand-Button.gif".
    HOWEVER, when he hits update site and it uploads the HTML to the server, the SRC tag of the image reads:
    <img src="Accessories-By-Brand-Button.gif">
    instead of
    <img src="Images/Buttons/New Buttons/Accessories-By-Brand-Button.gif">

    Any ideas?

    #2
    What you are seeing is normal. Actinic uploads all image and html files etc into the same acatalog folder regardless of the structure on the pc.

    If you have hard coded links to images with that path you should remove the path.

    If it worked in the past then the image files must have been manually uploaded outside of Actinic.

    Comment


      #3
      AFAICR Actinic puts all the images directly in the acatalog folder . The paths are just there for image control on the PC.

      Mike
      -----------------------------------------

      First Tackle - Fly Fishing and Game Angling

      -----------------------------------------

      Comment


        #4
        Thanks for the rapid response.
        The images are all there inside the acatlaog/Images folder (There are further subfolders inside this).
        Surely it cannot flatten the whole folder structure, as what if he had one section with an image of "Images/product1/prodimage.gif" and another section with an image of "Images/product2/prodimage.gif" then you couldn't flatten both into one folder as you would have two files with the same name.

        It says "Images\Buttons\New Buttons\Accessories-By-Brand-Button.gif" in the section settings, so why is it ignoring those paths?
        How would it normally work? At what point do the images get uploaded?

        Comment


          #5
          Surely it cannot flatten the whole folder structure
          It does.

          what if he had one section with an image of "Images/product1/prodimage.gif" and another section with an image of "Images/product2/prodimage.gif" then you couldn't flatten both into one folder as you would have two files with the same name.
          Correct. Actinic will throw up an error in this case. All the images must have unique filenames.

          It says "Images\Buttons\New Buttons\Accessories-By-Brand-Button.gif" in the section settings, so why is it ignoring those paths?
          It's not ignoring them. Images paths are there so Actinic can find the images on the PC. You can organise images in folders on the PC to help you organise your images. This isn't needed on the server.

          Mike
          -----------------------------------------

          First Tackle - Fly Fishing and Game Angling

          -----------------------------------------

          Comment


            #6
            arg, what a horrid design decision!
            OK then, so how do I get it to take all the images from all the folders and upload them all to the same folder, or do I have to do that manually?

            Comment


              #7
              I have installed actinic on my home pc and have taken the default site with the calculator and flowers and made some modifications.
              I changed the image for the calculator to test\1\prod.gif and the flowers to test\2\prod.gif
              I then took copies of the relevant image for each and put it in the test folder.
              Preview is quite happy.

              Unfortunately, I cannot upload this test to a web server to see what happens cause my local test server (Ubuntu in a virtual machine) does not seem to work - the "Analyzing Website" part gets stuck on the "Installing Perl" part.

              But whatever, if it allows duplicate file names then surely it must rename them or something if there is a conflict? What is the mechanism here?

              Comment


                #8
                OK then, so how do I get it to take all the images from all the folders and upload them all to the same folder, or do I have to do that manually?
                Actinic will upload all the images for you. You don't have to do anything.

                if it allows duplicate file names then surely it must rename them or something if there is a conflict? What is the mechanism here?
                No. If there's a conflict Actinic will tell you there's an error during upload and leave you to go find them. Not easy and sometimes a search in access is the easiest way.

                Mike
                -----------------------------------------

                First Tackle - Fly Fishing and Game Angling

                -----------------------------------------

                Comment


                  #9
                  Originally posted by Mike Hughes View Post
                  Actinic will upload all the images for you. You don't have to do anything.
                  Hmm, well I just renamed his acatalog folder to acatalog.bak, and created a new empty one then hit "Update Website". It rebuilt a new copy of the site but did not upload any images whatsoever.

                  However, while uploading I got a dialog pop up:
                  "Some passive errors were encountered during the transfer"

                  It had about 4 GIF files listed with the error type being "Error opening the file". Would this stop it from uploading the other images?

                  Thanks for all your help so far!

                  Comment


                    #10
                    Nope, I just found the cause of and fixed those errors and no fix.

                    So, to reiterate, I am clicking "Update Website" and it is not sending images. No errors, all reports OK but it does not send any images at all.

                    Comment


                      #11
                      click 'refresh website'. It might make all the difference.

                      Mike
                      -----------------------------------------

                      First Tackle - Fly Fishing and Game Angling

                      -----------------------------------------

                      Comment


                        #12
                        Ooh! I see it sending images!

                        Thanks Mike!

                        Comment

                        Working...
                        X