Announcement

Collapse
No announcement yet.

Can you use product images as default section images?

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

    #16
    ahh...Lee, that explains then why I still couldn't get this to work when I tried it again (sorry, I hadn't been back to the thread...had a lot on)

    After I spoke to you, I did try it again, using both methods, but it still kept "defaulting" to the parent section image (which, admittedly, isn't the default section image itself)
    Sorry, I didn't make that clearer to begin with.

    It's not a huge PITA to C&P product image to section (it's resizing it anyway) but it is certainly a process that would be great to be automated.

    Thanks for taking a look at it for me.
    Tracey

    Comment


      #17
      I've posted the all-singing rescaling version on http://community.actinic.com/showthread.php?p=208421
      Links to 'old' forum pages no longer work in this 'new' forum.

      Dos anyone please have a working link for that page of Norman's?

      In the code above can one create an expression such as
      Code:
      Parent Section section-image-filename
      to have as an 'OR' after:

      Code:
      $noimageyet = true;
      // if non-default image use it
      if ( basename('<actinic:variable encoding="perl" name="SectionImageFileName" selectable="false" />') != basename('<actinic:variable name="DefaultSectionImage" encoding="perl" selectable="false" />') )
      elseif ( basename('<actinic:variable encoding="perl" name="SectionImageFileName" selectable="false" />') != basename('Parent Section section-image-filename') )
      Thank you
      Jonathan Chappell
      Website Designer
      SellerDeck Website Designer
      Actinic to SellerDeck upgrades
      Graphicz Limited - www.graphicz.co.uk

      Comment


        #18
        Just replace actinic in that duff url with sellerdeck and you'll get to https://community.sellerdeck.com/for...age#post208421
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #19
          Thank you Norman. Shame they couldn't redirect automatically.
          Jonathan Chappell
          Website Designer
          SellerDeck Website Designer
          Actinic to SellerDeck upgrades
          Graphicz Limited - www.graphicz.co.uk

          Comment

          Working...
          X