Subversion Repositories eFlore/Applications.cel

Rev

Rev 3743 | Rev 3822 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3743 Rev 3774
Line 442... Line 442...
442
        if (count($donnees) > 0) {
442
        if (count($donnees) > 0) {
443
            foreach ($donnees as $id_obs => $id_images) {
443
            foreach ($donnees as $id_obs => $id_images) {
444
                foreach ($id_images as $id_img) {
444
                foreach ($id_images as $id_img) {
445
                    $urls['idImg'] = $id_img;
445
                    $urls['idImg'] = $id_img;
446
                    $urls['guid'] = sprintf($this->config['settings']['guidImgTpl'], $id_img);
446
                    $urls['guid'] = sprintf($this->config['settings']['guidImgTpl'], $id_img);
447
                    $urls['miniature'] = $this->getUrlImage($id_img, 'CXS').'.jpg';
447
                    $urls['miniature'] = $this->getUrlImage($id_img, 'CXS');
448
                    $urls['normale'] = $this->getUrlImage($id_img, 'XL').'.jpg';
448
                    $urls['normale'] = $this->getUrlImage($id_img, 'XL');
449
                    $images[$id_obs][] = $urls;
449
                    $images[$id_obs][] = $urls;
450
                }
450
                }
451
            }
451
            }
452
        }
452
        }
453
        return $images;
453
        return $images;