Forums

ASP

This topic is locked

smart image processor

Posted 16 Oct 2006 15:41:28
1
has voted
16 Oct 2006 15:41:28 Marc M posted:
I upload photos with 'Pure ASP Upload 3' and resize them with 'Smart Image'.
Smart Image also makes a thumbnail of the photo 'myphoto.jpg' with the name 'myphoto_small.jpg'.

How do I have to change this code so that the thumbnail and not the original photo is shown?
I have to add '_small' in some way ....
I never work in code, just wysiwig in DW ......

The name of the original photo is stored in the field "foto" of a database.

<td align="default" width="50%"><img name="foto" src="<%=(Recordset1.Fields.Item("fotos".Value)%>" alt=""></td>

Thanks,

Marc

Replies

Replied 17 Oct 2006 00:57:46
17 Oct 2006 00:57:46 Dan Berdusco replied:
This is buit in... Just select the image that you would like to display as a thumbnail - this should be a dynamic image. (dont modify anything with the name etc). Then in your server behaviours panel there will be a highlighted selection that should say something like "Dynamic Attribute". Double click that. In the window that opens, select the FORMAT dropdown list, and select DMXzone - Thumbnail as the format.

hope that helps
Replied 17 Oct 2006 09:19:44
17 Oct 2006 09:19:44 Marc M replied:
Trevor,
Thanks, I learned something new again!

Reply to this topic