Announcement

Collapse
No announcement yet.

scripting skills required (maybe)

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

    scripting skills required (maybe)

    Hi All
    Happy New Year and all that, I have a problem that may need some code to cure.
    .
    Each of my products currently uses an image which is contained within a folder called prod_photos (eg. 'prod_photos/pd2300_00.jpg'). I will shortly be implementing MagicThumb and it requires 2 versions of each photo. I cannot automatically resize my original and so I have created the 2nd version of each photo myself with a lg_ prefix (ie. full path of 2nd photo is 'prod_photos/lg_pd2300_00.jpg').
    Ideally, I do not want to supply a 2nd variable for each product with the additonal 2nd photo filename. Can anyone think of away (or supply some code) that will enable me to prefix my 2nd photo filename with a 'lg_'.
    .
    Thanks
    K

    #2
    As far as I know you will have make reference to the new image file somewhere or actinic will not upload it unless you add the files to the additional file list. Can't you just create a new variable then export your products to Excel, constanate (spell) your old filename into your new filename then import it back into actinic. If you don't want to use your own variable you could use the thumbnail or extended image fields
    Unusual Silver Jewellery
    Giftmill - Unusual Gifts
    Crystal Healing Jewellery
    Steampunk Jewellery

    Comment


      #3
      There's an article in the Advanced Guide about automatically creating resized images. You could adapt that to do what you want.

      I also have add-ons that add Magic Zoom and Magic Thumb to Actinic. They're commercial so you'll have to email me for details.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thanks Norman
        Found the code in AUG and hacked it to pieces and got it to work. Probably not the prettiest piece of coding and so I wont post it here but thanks for pointing me in the right direction.

        Comment

        Working...
        X