Page 1 of 2

Dynamic images

Posted: Fri Aug 12, 2005 10:59 am
by chris ashdown
Dear Norman

Trying out your dynamic image setup but come to a problem with entry

In all Product Templates you intend to use with such products add the following code
after every occurrence of the line NETQUOTEVAR:PRODUCTFORMBEGIN

I cannot find this, in the product template in site 1 it shows

[Templates]
Act_ProductLine.html=One product per row, image on left
Act_ProductLineNew.html=Layout designed for new products
Act_ProductLineRight.html=One product per row, image on right
Act_ProductLineLarge.html=Large image on the left
Act_ProductLineTable.html=No image, laid out in rows
Act_ProductLineTextOnly.html=Description only, useful for inserting messages
Act_ProductLineTextAndTitle.html=Product name and description only

[Act_ProductLine.html]
Preview=preview_imageleft.bmp

[Act_ProductLineRight.html]
Preview=preview_imageright.bmp

[Act_ProductLineLarge.html]
Preview=preview_imagelarge.bmp

[Act_ProductLineTable.html]
Preview=preview_table.bmp

[Act_ProductLineTextOnly.html]
Preview=preview_textonly.bmp

[Act_ProductLineTextAndTitle.html]
Preview=preview_textandtitle.bmp

[Act_ProductLineNew.html]
Preview=preview_new.bmp

Am I looking in the wrong place?

Posted: Fri Aug 12, 2005 12:44 pm
by norman
It's the files mentioned below that need patching. Not the ProductTemplates.ini file.

E.g.

Act_ProductLine.html
Act_ProductLineNew.html
Act_ProductLineRight.html
Act_ProductLineLarge.html
Act_ProductLineTable.html
Act_ProductLineTextOnly.html
Act_ProductLineTextAndTitle.html

Posted: Fri Aug 12, 2005 1:22 pm
by Guest
Many thanks Norman, I will give it a go

Posted: Mon Aug 15, 2005 3:08 pm
by chris ashdown
Norman

Just uploaded for the first time http://www.british-tabards.co.uk and found a problem

The boxes for the images come up but most are empty.

There is two items on Long aprons and one on tabards and all on hats that were not included in the file additions but the rest are showing up ok on the online computer and whan viewed in prevue all images are in their correct places

Using Ver 7.0.4.000 FEVA and IE ver 6.0.2900

Happy to send the snapshot if that helps

Norman

Just did a complete site purge on the server and reload and also included the missing images I had not transfered

Still the same, all looks like its working but missing images in a random manner

also tried a full refresh on the site to no avail

Posted: Mon Aug 15, 2005 5:51 pm
by norman
Your extra images need uploaded via Advanced / Additional Files. Here's the bit from the ReadMe
Save these additional images in the same place as the main product image.
Make sure that these additional images are loaded via Advanced / Additional Files.
(I've not been able to find a way to persuade Actinic to automatically upload these)
Also make sure that you're using exactly the same case for these image names as you use in the HTML for Name field. The Preview is on Windows so it may ignore case, but real-world servers (especially if Unix) will be case sensitive.

Posted: Mon Aug 15, 2005 6:55 pm
by chris ashdown
Thanks Norman

Feel a right pratt it was the upper/ lower case

Posted: Mon Aug 22, 2005 2:37 pm
by chris ashdown
Norman

Sorry to bother you yet again but hit a snag

Got the first site using dynamic images ok but when trying second site have a error that keeps poping up. Checked the code three times but cannot find the fault

Error code when displaying actinic window after modifying code is

Line 31
char 16
Error 'options.length' is null or not a object
Code 0
URL file://C:\Program Files\Actinic V7\sites\british nurses\PreviewHTML\P_index.html

Regards

Chris

Posted: Mon Aug 22, 2005 5:27 pm
by norman
It could be that you have an attribute with no choices. Check that and if possible post an URL of a problem page.

Posted: Mon Aug 22, 2005 6:20 pm
by chris ashdown
It does look like i have cocked up and have some products with only one choice in attributes

Would this cause the problem as the error appears as soon as i open the file and everytime i chose another product.

The dynamic images appear to be working ok

Posted: Mon Aug 22, 2005 6:31 pm
by chris ashdown
Just deleted the single attributes and still have the problem

Would it help if I ftp you the snapshot

The online site without the dynamic images is http://www.british-nurses,co,uk

I have not uploaded the development on yet which has the dynamic images

Posted: Mon Aug 22, 2005 6:52 pm
by norman
No snapshots please. I'm on holiday in Turkey with only slow dial-up available.

I've just set up a fresh site and cannot recreate your problem - whether I have no options or just one.

It's possible you've installed the patch incorrectly. Without seeing a live site I can't help any more.

Posted: Tue Aug 23, 2005 1:24 pm
by chris ashdown
Norman
Have sent details of online site to your email address

The only difference I can see between the two sites is that this one uses two product prices for most items.

When run online it looks like all is ok

When run offline if i highlight a product it gives the error message, if i hit the expand + sign it opens up the choices without giving the error sign

Have tried on two computers with same results, both have no problem before add-on but both same problem after

Add-on was cut and pasted so should not have error and the fact it works online should go some way to proveing this


Chris

DPI in Dropdown

Posted: Mon Feb 20, 2006 7:24 pm
by Jeff P
Norman:
Have updated the Dynamic Product Images to the latest version (donation made) because I wanted to utilize dropdown boxes instead of radio buttons--at least in some cases where it's a long scroll to see all the choices.

Installation was fine and the radio buttons work as they did before.

However, when I shift to Drop Down I get the window with the first choice only and the rest of the list appears where they were in the radio buttons but show the {brackets} as text.

There are no instructions in the ReadMe for drop downs. I tried taking out the custom properties but that didn't change the result.

Posted: Mon Feb 20, 2006 8:25 pm
by norman
Have you a live page where I can see this fault?

Posted: Mon Feb 20, 2006 8:44 pm
by norman
It's OK. I found the bug. There was an error in dynamicimagesupport.js that only appeared on the little-used Drop Down List option. It's now fixed on the http://www.drillpine.biz/actinicstuff site. Get the new Zipfile from there and extract the dynamicimagesupport.js (that's the only file that's changed).

If you downloaded this patch a while ago, it may be better to use the entire new patch as it's changed a lot in the last 2 months.