File (column)

(Since 1.7.6) -- Attach files to pod items
A file column allows you to upload files to the WP Media Library and/or select existing files from the server. Each file column has an upload button -- allowing you to select multiple files for upload. The uploader comes complete with progress indicators. The maximum upload size is determined by your WordPress settings or PHP configuration (whichever is smaller).

Examples

Using the File field with PHP:

Here are a few images

    <?php $Record = new Pod('pod_name'); $Record->findRecords('id DESC', 15); while ($Record->fetchRecord()) { $image_src = $Record->get_field('file_column_name.guid'); $image_name = $Record->get_field('file_column_name.post_title'); ?>
  • <?php echo $image_name; ?>
    <?php echo $image_name; ?>
  • <?php } ?>
Using the File field with Magic Tags:
// Using the magic tag to output the image url (only if one image is uploaded
// if more are uploaded to the field you should loop through the array with a helper


// Using a helper to get the thumbnail