Apr 4th, 2010, 12:27 PM
Awesome! I was just looking for the same feature.
Works perfect.
I made one small modification ( && $value != null) in order to not display not existing pictures (entries without file):
Thank you a lot!
Hannes.
Works perfect.
I made one small modification ( && $value != null) in order to not display not existing pictures (entries without file):
PHP Code:
{elseif $field_type == "file"}
{if $form_id == 3 && $col_name == "file" && $value != null}
<a href="{$field.field_info.settings.file_upload_url}/{$value}"><img src="{$field.field_info.settings.file_upload_url}/{$value}" width="100" /></a>
{else}
{$value}
{/if}
Thank you a lot!
Hannes.