controlling image sizes

Hi all -

I would like to use a "medium" sized image on the item display page ( localhost/collection/items/show/1 ) to link the fullsize image.

I had thought that I could use something like the following:
echo display_files_for_item($props = array('width' => '800'));
but that's not working. Is this feasible with display_files_for_item? Or, would it be better to make my thumbnail size 800px, and constrain my thumbnails in the browse page display?

Many thanks!
Cheers,
Bridger

One way you could do it would be to use the following:

<?php echo display_files_for_item(array('imageSize' => 'fullsize')); ?>

which should return a fullsize image which links to the original file.

Hope that helps.

Hi Kalbers -
I'm currently using your example.

I'll try working with larger thumbnails - I think I understand how to constrain/resize thumbnails. I'll post back with samples if I get it working.

Thanks for your time & help!

Just to note, our use of the term fullsize is somewhat misleading. You can set the fullsize constraints in the general settings tab (in your case 800px). Clicking the link generated by the code you are currently using will take you to the file (which is in a certain sense the actual fullsize).