Subversion Repositories eFlore/Applications.cel

Rev

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

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