Enrico
|
| Posted: 06/07/2002, 2:55 PM |
|
I have two images, one is in a large format (image_test.jpg) and one is a thumbnail (tmb_image.jpg).
In my table I have a field named FIELD_NAME_FOTO where is stored "image_test.jpg".
When I show FIELD_NAME_FOTO on a grid I need to show not "image_test.jpg" but "tmb_image.jpg" ("tmb_" . FILE_NAME_FOTO).
Some body can help me?
Thanks
|
|
|
 |
Ron Borkent
|
| Posted: 06/08/2002, 1:13 AM |
|
I'll give it a shot 
In beforeshow event:
global $formname;
$thumb="tmb_";
$formname->fieldname->setvalue($thumb .$formname->fieldname->Value);
Should do the trick.
I generaly put everything in a variable but you could also do it like this:
global $formname;
$formname->fieldname->setvalue("tmb_" .$formname->fieldname->Value);
Hope this helps.
Ron
|
|
|
 |
|