Get ready for BLACK FRIDAY shopping starting in

Forums

ASP

This topic is locked

Can the Smart Image Processor run twice?

Posted 05 Feb 2004 19:06:53
1
has voted
05 Feb 2004 19:06:53 Mike Manger posted:
<font face='Tahoma'>
Simple question really - I want to upload a larger image and then create a thumbnail of it. Then I want to create a third thumbnail even smaller still.
Can this be done?
Anyone experimented?
Cheers,
Rob
</font id='Tahoma'>

Replies

Replied 10 Feb 2004 12:09:29
10 Feb 2004 12:09:29 Patrick Woldberg replied:
Just add an other resize under the thumb, for example the next will make a thumb of 100x100 quality 70 and suffix _thumb2:

ResizeUploadedFiles RUF_Component, RUF_DotNetResize, pau_thePath, "_thumb2", "100", "100", "70", false, pau_saveWidth, pau_saveHeight, RUF_AspectThumb, pau_nameConflict, ""

Place it directly after:

ResizeUploadedFiles RUF_Component, RUF_DotNetResize, pau_thePath, RUF_Suffix, RUF_maxWidthThumb, RUF_maxHeightThumb, RUF_QualityThumb, false, pau_saveWidth, pau_saveHeight

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------
Replied 10 Feb 2004 18:56:40
10 Feb 2004 18:56:40 Mike Manger replied:
Thanks for the headsup!
Great stuff.
Cheers,
Rob

Reply to this topic