Parcourir la source

Merge branch 'image-event-flou' into develop

opentalent il y a 1 an
Parent
commit
6650e32907
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      sql/schema-extensions/001-view_public_events.sql

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

@@ -26,7 +26,7 @@ CREATE OR REPLACE VIEW view_public_events 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)