Announcement

Collapse
No announcement yet.

Disable product image link

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

    Disable product image link

    Hi,

    For some reason all of my main product images are links, when clicked on just bring up a 404 error. Is there an option to turn these links off?

    Thanks,
    Sean.

    #2
    Look on the 'links' tab of the product, you probably have it ticked to do so.

    Comment


      #3
      Hi Lee,

      Thanks for the quick reply, I have all three options set on 'Does Nothing' yet the image is still clickable. Any other suggestions?

      Comment


        #4
        Welcome to the Community.

        As always, post an URL of a faulty page so we can see what's happening.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Thanks Norman,

          Sure, http://handprotect.co.uk/acatalog/Ca...-100-Pack.html

          Comment


            #6
            You have two unclosed and invalid <A...> tags in front of each Product Image. E.g.
            Code:
            <a href="Canadian Chrome High Quality Gloves - 100 Pack">
            <a href="Canadian Chrome High Quality Gloves - 100 Pack">
            <img src="canchq-large.jpg" border="0" width="680" height="531" title="Canadian Chrome High Quality Gloves - 100 Pack" alt="Canadian Chrome High Quality Gloves - 100 Pack" />
            This looks like it would come from code like:
            Code:
            <a href="<actinic:variable name="ProductName" />">
            Someone / thing has altered your layouts and added in these. Copy / paste the code from layout Standard Product Image into a post here so we can see if that's where the fault is.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              P.S. I wondered why your image was so slow and discovered that it's 926Kb which must be some sort of world record for a 680 x 531 JPG image. Other images appear to be similarly bloated.

              You will be wasting a huge amount of bandwidth and slowing pages down with such images.

              Saving these with a sensible JPG compression should reduce them around 5%-10% of less of that hefty size.
              Norman - www.drillpine.biz
              Edinburgh, U K / Bitez, Turkey

              Comment


                #8
                Layout Code - Standard Product Image is as follows...

                Code:
                   </actinic:block>
                   <actinic:block if="%3cactinic%3avariable%20name%3d%22ExtendedInformationType%22%20%2f%3e%20%3d%3d%20%22Opens%20in%20the%20Same%20Window%22" >
                      <a href="<actinic:variable name="ExtendedInfoPageName" />">
                   </actinic:block>
                </actinic:block>
                <a href="<actinic:variable name="ProductName" />">
                <actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22%29%20AND%20%28%3cactinic%3avariable%20name%3d%22ProductListImageLink%22%20%2f%3e%20%3d%3d%201%29" >
                	<a href="<actinic:variable name="ProductPageName" />">
                	<a href="<Actinic:Variable Name="ProductName"/>">
                </actinic:block>
                
                <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductImageDisplayed%22%20%2f%3e">
                <a href="<Actinic:Variable Name="ProductName"/>">
                   <img src="<actinic:variable name="ProductImageFileName" />"
                      border="0"
                      width="<actinic:variable name="ProductImageWidth" />"
                      height="<actinic:variable name="ProductImageHeight" />"
                      title="<actinic:variable name="ProductName" encoding="strip"/>"
                      alt="<actinic:variable name="ProductName" encoding="strip"/>" />
                </actinic:block>
                
                <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductImageDisplayed%22%20%2f%3e%20%3d%3d%20False">
                   <img src="<actinic:variable name="DefaultProductImage" />"
                      border="0"
                      title="<actinic:variable name="ProductName" encoding="strip"/>"
                      alt="<actinic:variable name="ProductName" encoding="strip"/>" />
                </actinic:block>
                
                <actinic:block if="%3cactinic%3avariable%20name%3d%22IsPopUpDisplayedByImage%22%20%2f%3e%20OR%0d%28%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22%29%20AND%20%0d%28%3cactinic%3avariable%20name%3d%22ProductListImageLink%22%20%2f%3e%20%3d%3d%201%29%29" >
                   </a>
                </actinic:block>
                Regards to images, I'm in the process of re-saving each of them for web. Dunno what I was thinking!

                Comment


                  #9
                  The problem's there. There are at least 3 spurious <a href="<actinic:variable name="ProductName" />"> and the top of the layout seems to be missing.

                  Right-click that layout in the Library and choose Revert to Factory Settings.

                  If that doesn't fix it, copy / paste the following default code into that layout:
                  Code:
                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsPopUpDisplayedByImage%22%20%2f%3e" >
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22ExtendedInformationType%22%20%2f%3e%20%3d%3d%20%22Opens%20in%20a%20Pop%2dUp%20Window%22">
                        <a href="<actinic:variable name=ExtendedInfoPageEncoded />" target="ActPopup" onclick="return ShowPopUp('<actinic:variable name=ExtendedInfoPageEncoded />',<actinic:variable name="ExtInfoWindowWidth" />,<actinic:variable name="ExtInfoWindowHeight" />);">
                     </actinic:block>
                     <actinic:block if="%3cactinic%3avariable%20name%3d%22ExtendedInformationType%22%20%2f%3e%20%3d%3d%20%22Opens%20in%20the%20Same%20Window%22" >
                        <a href="<actinic:variable name="ExtendedInfoPageName" />">
                     </actinic:block>
                  </actinic:block>
                  
                  <actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22%29%20AND%20%28%3cactinic%3avariable%20name%3d%22ProductListImageLink%22%20%2f%3e%20%3d%3d%201%29" >
                  	<a href="<actinic:variable name="ProductPageName" />">
                  </actinic:block>
                  
                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductImageDisplayed%22%20%2f%3e">
                     <img src="<actinic:variable name="ProductImageFileName" />"
                        border="0"
                        width="<actinic:variable name="ProductImageWidth" />"
                        height="<actinic:variable name="ProductImageHeight" />"
                        title="<actinic:variable name="ProductName" encoding="strip"/>"
                        alt="<actinic:variable name="ProductName" encoding="strip"/>" />
                  </actinic:block>
                  
                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductImageDisplayed%22%20%2f%3e%20%3d%3d%20False">
                     <img src="<actinic:variable name="DefaultProductImage" />"
                        border="0"
                        title="<actinic:variable name="ProductName" encoding="strip"/>"
                        alt="<actinic:variable name="ProductName" encoding="strip"/>" />
                  </actinic:block>
                  
                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsPopUpDisplayedByImage%22%20%2f%3e%20OR%0d%28%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22%29%20AND%20%0d%28%3cactinic%3avariable%20name%3d%22ProductListImageLink%22%20%2f%3e%20%3d%3d%201%29%29" >
                     </a>
                  </actinic:block>
                  Norman - www.drillpine.biz
                  Edinburgh, U K / Bitez, Turkey

                  Comment


                    #10
                    Awesome! I didn't realise you could do that. Many thanks for your help Norman

                    I'm brand new to Actinic and have only been using it for the last month or so. Still getting used to the software and coding.

                    Comment

                    Working...
                    X