contentEntry()->open() ?>
contentEntry()->getEntry(); $decorators = $entry->getContentType()->getDisplayDecorators('file'); foreach ($decorators as $decorator) { if ($decorator instanceof Content_Form_Decorator_DisplayImage) { $decorator->setOption('maxWidth', 1000) ->setOption('maxHeight', 1000); } } print $this->contentEntry()->element('file', array('display' => array('decorators' => $decorators))); ?> entry->getId() && $this->entry->getFieldMetadata('file')) : $metadata = $this->entry->getFieldMetadata('file'); ?> contentEntry()->element('title') ?>
contentEntry()->close() ?>