소스 검색

redimension des images thumbnail

opentalent 1 년 전
부모
커밋
d653d36afa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      sql/schema-extensions/001-view_public_events.sql

+ 1 - 1
sql/schema-extensions/001-view_public_events.sql

@@ -27,7 +27,7 @@ AS
         r.capacity AS roomCapacity, 
         r.floorSize AS roomFloorSize,
         IF(b.image_id is not null, CONCAT('https://api.opentalent.fr/app.php/_internal/secure/files/', b.image_id, '/raw'), null) AS imageUrl,
-        IF(b.image_id is not null, CONCAT('https://api.opentalent.fr/app.php/_internal/secure/files/', b.image_id, '/0x120'), null) AS thumbnailUrl,
+        IF(b.image_id is not null, CONCAT('https://api.opentalent.fr/app.php/_internal/secure/files/', b.image_id, '/300x0'), null) AS thumbnailUrl,
         (SELECT GROUP_CONCAT(DISTINCT CONCAT(f.code))
          FROM event_categories AS ec
             LEFT JOIN Categories AS cs ON(cs.id = ec.categories_id)