getgrav / grav-theme-photographer

Photographer Theme for Grav - Modern photography portfolio.
https://getgrav.org
MIT License
6 stars 12 forks source link

No image in page (gallery template) #14

Open piovasco opened 1 year ago

piovasco commented 1 year ago

I cannot get images to appear on a page to which I have assigned the template "gallery". I have uploaded two images to the media section, but nothing appears.

This is the content of my gallery.md page:

--- title: Galleria media_order: '_DSC0084.jpg,IMG_20230705_113559.jpg' ---

Inspecting the page with Chrome, the console shows the following errors :

---------------------------- jquery-migrate-1.2.1.js:21 JQMIGRATE: Logging is active jquery-3.x.min.js:2 Uncaught TypeError: e.indexOf is not a function at S.fn.load (jquery-3.x.min.js:2:84831) at jquery.ui.totop.js:68:11 jquery.mobile.customized.min.js:10 Uncaught TypeError: Cannot read properties of undefined (reading 'concat') at jquery.mobile.customized.min.js:10:9975 at jquery.mobile.customized.min.js:10:10573 at window.define (jquery.mobile.customized.min.js:10:69) at jquery.mobile.customized.min.js:10:6917 jquery-3.x.min.js:2 Uncaught TypeError: e.indexOf is not a function at S.fn.load (jquery-3.x.min.js:2:84831) at galleria:39:11 jquery-3.x.min.js:2 Uncaught TypeError: e.indexOf is not a function at S.fn.load (jquery-3.x.min.js:2:84831) at galleria:140:19 jquery-migrate-1.2.1.js:41 JQMIGRATE: jQuery.fn.attr('selected') may use property instead of attribute migrateWarn @ jquery-migrate-1.2.1.js:41 jquery-migrate-1.2.1.js:43 console.trace migrateWarn @ jquery-migrate-1.2.1.js:43 ------- Any idea? Thanks in advance. I am studying and practicing grav and my knowledge is still limited.