diff --git a/site/assets/files/1130/playa_chanteiro_ares.100x100.jpg b/site/assets/files/1130/playa_chanteiro_ares.100x100.jpg new file mode 100644 index 0000000..b23c085 Binary files /dev/null and b/site/assets/files/1130/playa_chanteiro_ares.100x100.jpg differ diff --git a/site/assets/files/1130/playa_chanteiro_ares.466x260.jpg b/site/assets/files/1130/playa_chanteiro_ares.466x260.jpg new file mode 100644 index 0000000..240eb2f Binary files /dev/null and b/site/assets/files/1130/playa_chanteiro_ares.466x260.jpg differ diff --git a/site/templates/_func.php b/site/templates/_func.php index 50290fa..22b0307 100644 --- a/site/templates/_func.php +++ b/site/templates/_func.php @@ -414,8 +414,14 @@ function renderArtigos($publicacion, $locale, $resumen = true) $saida .= '' . "\n"; $saida .= '' . "\n"; $saida .= '' . "\n"; + if($resumen) { + if($publicacion->imaxe) + { + $thumb = $publicacion->imaxe->size(466, 260); + $saida .= '' . "\n"; + } $saida .= '
' . renderResumen(getTextoLimpo(getSeccions($publicacion->seccions))) . '
' . "\n"; $saida .= '' . _x("Read more", "Read more") . '
' ."\n"; @@ -423,6 +429,11 @@ function renderArtigos($publicacion, $locale, $resumen = true) } else { + if($publicacion->imaxe) + { + $thumb = $publicacion->imaxe->size(466, 260); + $saida .= '' . "\n"; + } $saida .= '