Hi!
I upload GIF by Gallery field, but after putting, they displayed wrong.
I upload original GiFs file and the wrong file. Check it by yourself.
The code in output file:
<?php
$this->record = $record;
$this->_init();
?>
<?php
$path = JUri::root(true).'/'.JComponentHelper::getParams('com_cobalt')->get('general_upload').'/'.$this->params->get('params.subfolder', $this->field_type).'/';
foreach($this->value AS $file)
{
echo '<img src="'.$path.$file['fullpath'].'" class="gif">';
}
?>
Hi! I upload GIF by Gallery field, but after putting, they displayed wrong. I upload original GiFs file and the wrong file. Check it by yourself.
The code in output file: