Using other Thumbnails only

5 posts by 3 authors in: Forums > CMS Builder
Last Post: January 11, 2010   (RSS)

By misery217 - October 13, 2009

I was looking over for a situation just like this. I tried (using
Code

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

) to no avail. It shows up the size as the original Thumbnail.

However, when I change the 'if' statement to use Thumbnail 2 (using
Code

<?php if ($upload['hasThumbnail2']): ?>

) it works... Sort of... I get the error on the page "Notice: Undefined index: hasThumbnail2 in C:\inetpub\wwwroot\bobkingrealty.com\agents\detail.php on line 128."

Any ideas?

Thanks!

Re: [Damon] Using other Thumbnails only

By misery217 - October 14, 2009

Okay Damon, thanks!!! Adding the modifier to the end of the height and width was the trick!

Re: [Damon] Using other Thumbnails only

By Codee - January 9, 2010

This is a piece of info I recommend going into the "doc" page under "displaying uploads" as it's a simple, although standard, part of the CMSB coding.

Re: [equinox69] Using other Thumbnails only

By Damon - January 11, 2010

Hi,

Good point, thanks.

I updated the "Displaying Uploads" page in the docs to include this.

http://www.interactivetools.com/docs/cmsbuilder/uploads.html
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/