Announcement

Collapse
No announcement yet.

image won't show

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

    image won't show

    Please help me before I lose my mind!!!
    I have edited the primary template to add extra boxes to the right of my smart theme site. I can add text, a link etc but cannot get an image to work.
    I have saved the thumbnail to my photos folder in site 1 folder. I have added it to the additional files section in advanced.
    I have searched all night for a solution but am completely baffled...I may be doing something really stupid?

    here is the html I have used....

    <br>
    <table width="150" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" class="actsmallheading" background="tab_pal2.gif"><b>&nbsp;&nbsp;NEW PRODUCTS</b></td>
    </tr>
    <tr valign="top">
    <td class="thinred2">
    <table width="100%" border="0" cellpadding="2" cellspacing="2" class="actxxsmall">
    <tr>
    <td valign="top"><tr><td><a href="http://www.hificablesandaccessories.co.uk/acatalog/HOME_CINEMA_LIGHTING.html">Illuminaire Home Cinema Lighting<br><br><img src="illuminaire_thumb2"></a></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>

    #2
    Originally posted by aliscot
    <a href="http://www.hificablesandaccessories.co.uk/acatalog/HOME_CINEMA_LIGHTING.html">Illuminaire Home Cinema Lighting<br><br><img src="illuminaire_thumb2"></a>
    You need the full filename, for example:

    HTML Code:
    <img src="illuminaire_thumb2.jpg">
    Paul
    Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

    Using V10.2 with Norman's brilliantly simple TABBER.

    Comment


      #3
      I changed it as suggested...
      <br>
      <table width="150" border="0" cellspacing="0" cellpadding="0">
      <tr>
      <td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" class="actsmallheading" background="tab_pal2.gif"><b>&nbsp;&nbsp;NEW PRODUCTS</b></td>
      </tr>
      <tr valign="top">
      <td class="thinred2">
      <table width="100%" border="0" cellpadding="2" cellspacing="2" class="actxxsmall">
      <tr>
      <td valign="top"><tr><td><a href="http://www.hificablesandaccessories.co.uk/acatalog/HOME_CINEMA_LIGHTING.html">Illuminaire Home Cinema Lighting<br><br><img src="illuminaire_thumb2.jpg"></a></td>
      </tr>
      </table>
      </td>
      </tr>
      </table>

      Now I am getting this error when uploading.....

      I have the image illuminaire_thumb2.jpg saved in the photos folder within the site 1 folder. I have also added it to the additional files section using the "advanced" "additional files" buttons.
      Any thoughts?
      Attached Files
      Last edited by aliscot; 17-Jan-2008, 12:50 PM. Reason: addition

      Comment


        #4
        All images 'online' are stored in the same folder, therefore they must be named uniquely. The error message is explaining this to you. Even though they are in different places (on your PC), once they go online they will be in the same place and clash. Simply rename one uniquely and the message will disappear.

        Comment


          #5
          ok, I renamed the one in the site 1/photos folder to illuminaire_thumb3.jpg and left the one in the "additional files" section as illuminaire_thumb2.jpg

          when uploading I get a different message saying....

          "photos\illuminaire_thumb2.jpg,C:\Program Files\Actinic v7\Sites\Site1\photos\illuminaire_thumb2.jpg
          The file defined in Advanced | Additional Files couldn't be opened."
          Attached Files

          Comment


            #6
            Isn't that because you renamed that image to be ...thumb3 ?

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

            First Tackle - Fly Fishing and Game Angling

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

            Comment


              #7
              Originally posted by olderscot
              Isn't that because you renamed that image to be ...thumb3 ?

              Mike
              I thought I had to rename one of them so they were both unique?
              Now I am really confused!

              Comment


                #8
                Originally posted by aliscot
                Now I am really confused!
                Bull in a china shop springs to mind here, calm down breathe and think logically. The file you are referencing in additional files needs to be a unique name and point to a different place to what you are having your other file named and pointed to. That is all, just start the whole process again, remove existing references and add new ones instead of trying to codge existing info.

                Comment


                  #9
                  If I am right and look at it logically.

                  The image in the additional files is referencing to the image you want uploaded from the photos folder and should be the same name - why did you change that one?

                  If you look at the first error message, it says that the 2 images that are conflicting are both called the same, one in the Site1 folder and one in the photos folder. ie you have 2 images of the same name in 2 different locations.

                  Can you not look in Windows Exporer to find which 2 image files are called the same thing instead of trying to change the wrong image.

                  Or start again?
                  Sam
                  http://www.originaltouch.co.uk
                  http://www.spcb.co.uk

                  If you spend your whole life waiting for the storm, you’ll never enjoy the sunshine.

                  Failure is the tuition you pay for success.

                  Comment


                    #10
                    Hi Lee, what is confusing me is the fact that until now all my images are in the site 1/photos folder, and additional files are added from that folder.
                    So why do I get an error now when it has been fine until now?
                    If the image is stored as image1.jpg in my photos folder and it is added to the additional files section it shows as \photos\image1.jpg in there. Does this mean I have to put image1.jpg somewhere other than in site1/photos?
                    The image1 is only required for one of my side bars so does it need to be in 2 places? can I add it to additional files and then delete it from site1/photos?

                    Sorry for being so long winded but usually I do manage to grasp what is happening but no this time...

                    Comment


                      #11
                      If you add an image to a fragment or to a product, there is no need to add it to additional files also, it will automatically be uploaded for you and sit in the acatalog folder online (as long as it sits within the site1 folder).

                      I'm a little lost on what you are struggling with to be honest, rather than tell me what's happening, tell me clearly what you are trying to do i.e. what they are etc. and i will tell you what i do in the same situation. I think you are trying to do things too well and either mixing yourself or actinic up.

                      In principle, you only add things into additional files, that actinic is not automatically picking up for you.

                      Comment


                        #12
                        Exactly what I was trying to say,

                        there are 3 locations being muddled here:

                        Site1/
                        Site1/Photos/
                        "Additional Files"

                        Additional Files seem to be irrelevant and I'm not sure either why they are being used and why they have been changed - maybe get rid of them - just keep those pages that are otherwise hidden from the website.

                        Check the images in Site1/ and in Site1/Photos/
                        That is where the conflicting images are located. (First Error)
                        Sam
                        http://www.originaltouch.co.uk
                        http://www.spcb.co.uk

                        If you spend your whole life waiting for the storm, you’ll never enjoy the sunshine.

                        Failure is the tuition you pay for success.

                        Comment


                          #13
                          Hi sam,

                          I deleted the image called illuminaire_thumb2 and 3 etc from both the site1/photos and additional files and started again.
                          I created an image called illuminaire_crop and added it to my site1/photos folder. I then added it to the additional files section. I then ammended the act_primary etc to show <img src="illuminaire_crop.jpg"> .
                          I still get the original error message implying that the image is in the site1 folder as well as the photos folder but it isn't. It is only in the site1/photos folder. I have checked the site1 folder for duplicates and found none.

                          Comment


                            #14
                            Originally posted by aliscot
                            Hi sam,

                            I deleted the image called illuminaire_thumb2 and 3 etc from both the site1/photos and additional files and started again.
                            I created an image called illuminaire_crop and added it to my site1/photos folder. I then added it to the additional files section. I then ammended the act_primary etc to show <img src="illuminaire_crop.jpg"> .
                            I still get the original error message implying that the image is in the site1 folder as well as the photos folder but it isn't. It is only in the site1/photos folder. I have checked the site1 folder for duplicates and found none.
                            I have now removed all illuminaire images from additional files section.
                            The only illuminaire images left are in my site1/photos folder.

                            I uploaded and received no error/conflict messages but the image still wont show in the right side bar. I get a square with a red cross in it.
                            Could there be some other reason why the image won't show?

                            Comment


                              #15
                              Could there be some other reason why the image won't show
                              For images in the layout I always put them in the site 1 folder DO NOT use a sub folder in there.

                              Comment

                              Working...
                              X