I have been browsing the forum for my question, yet couldnt find a definitive answer. Basically I would like to be able to query all pages/folders for images. If I need a model thats fine, but I want it to be reused on different pagenames. Perhaps a reusable image-template that activates the model or something?
site.find(‘pagename’).children.images
That works, but only for one page/folder. I want to scan and get images from all pages/folders.
You could do something with a custom stylesheet, but then your image would get blurry, because it is a fixed size.
The alternative would be a custom field with its own modal. Actually, a card style modal would be quite nice for the image field.
Edit: you could try and make the image 76px x 76px in a custom panel stylesheet and check if that’s still OK for you. At least that would be the quick and dirty solution (not awfully beautiful…).
Yes, well i think this looks good (for certain cases). Thats where i would like to go.
For now, since the classes are too general for all image layouts it would affect all layouts, and it seems to break listed pages with icons. Could ofcourse be fixed, but I like those at 38x38.
Would be nice to someday have this as an option, so it wont break other installs.
If you limit the setting to the list image inside the dialog, it should actually work. If you use this setting in conjunction with https://github.com/mullema/k3-panel-view-extended, you could limit your custom styles to individual pages.
I was/am. I know i can list it as a card, but i’m using a 100% width layout for the image to somehwat respresent the flow of the page (frontend). It’s aesthetically more pleasing when its a single image and displayed a little larger. I didnt want to go to WP route and have a featured (card)image on the right.
It also does look good to me in the images popup panel at 78px. Having multiple images listed as a section at 38px works fine for me.