How to display Thumbnails (2)

2 posts by 2 authors in: Forums > CMS Builder
Last Post: January 9, 2009   (RSS)

By willbegood - January 8, 2009

Hello, i have an Upload field editor, and i select it to generate thumbs and thumbs(2) wich is smaller than "thumbs".
I want now to display "Thumbs (2)" : how to?

Re: [willbegood] How to display Thumbnails (2)

By ross - January 9, 2009

Hi there.

Thanks for posting!

To get the second thumbnail, you just need to add a "2" to your variables.

For example,

<?php echo $upload['thumbUrlPath2'] ?>

that would be the url for thumbnail 2.

Another example:

<?php echo $upload['thumbWidth2'] ?>

that would be the width of thumbnail 2.

If you need thumbnail 3 or 4, just use a 3 or 4 in the variable.

Let me know if that gets things going :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/