Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1306 → Rev 1307

/trunk/presentations/styles/eflore.css
1264,14 → 1264,6
height: 300px;
}
 
#grande-image-organe {
height: 449px;
}
 
#grande-image-organe a, #grande-image-organe a img {
height: 100%;
}
 
.miniature-organe {
height: 63px;
width: 63px;
/trunk/modules/fiche/formateurs/Illustrations.php
244,7 → 244,7
}
}
private function obtenirUrlImageGrandFormatCel($id, $format = "X3L") {
public static function obtenirUrlImageGrandFormatCel($id, $format = "X3L") {
$tpl = Config::get('baseUrlImageCelTpl');
return sprintf($tpl, str_pad($id, 9, '0', STR_PAD_LEFT).$format.'.jpg');
}
/trunk/modules/fiche/squelettes/fiche_illustrations.tpl.html
35,8 → 35,8
<? if ($image && $image['binaire.href']) : ?>
<li class="organe-moyen">
<?= ucfirst($tag); ?>
<a class="lien-image-cel" href="<?= Config::get('base_url_application_popup'); ?>?module=popup-illustrations&action=fiche&referentiel=<?= $referentiel; ?>&id=<?= $image['id_image'] ?>" data-num-image="<?= $image['id_image'] ?>">
<img title="<?= $image['id_image'] ?>" data-num-image="<?= $image['id_image'] ?>"
<a class="lien_grand_format" target="_blank" title="Voir cette image en grand format (s'ouvre dans une nouvelle fenêtre)" href="<?= Illustrations::obtenirUrlImageGrandFormatCel($image['id_image']); ?>" data-num-image="<?= $image['id_image'] ?>">
<img data-num-image="<?= $image['id_image'] ?>"
alt="Photographie n°<?= $image['id_image'] ?> du taxon <?= $image['observation']['determination.ns'] ?>"
src="<?= $image['binaire.href'] ?>" />
</a>
75,8 → 75,8
<? foreach($caracteres as $image) : ?>
<li class="caractere-moyen">
<? if ($image != null) : ?>
<a class="lien-image-cel" href="<?=Config::get('base_url_application_popup');?>?module=popup-illustrations&action=fiche&referentiel=<?= $referentiel; ?>&id=<?= $image['id_image'] ?>" data-num-image="<?= $image['id_image'] ?>">
<img title="<?= $image['id_image'] ?>" data-num-image="<?= $image['id_image'] ?>"
<a class="lien_grand_format" target="_blank" title="Voir cette image en grand format (s'ouvre dans une nouvelle fenêtre)" href="<?= Illustrations::obtenirUrlImageGrandFormatCel($image['id_image']); ?>" data-num-image="<?= $image['id_image'] ?>">
<img data-num-image="<?= $image['id_image'] ?>"
alt="Photographie n°<?= $image['id_image'] ?> du taxon <?= $image['observation']['determination.ns'] ?>"
src="<?= $image['binaire.href'] ?>" />
</a>