Randomising all images


#1

hello, is it possible to:

  • extract all images stored anywhere on the site (either within /content/, or within /static)
  • randomising them
  • displaying them with links to pages that include them?

#2

With some thought-out template code, probably.

You could potentially pass your map of pages/images through shuffle


#3

is there a way to extract all image types from a folder?

i mean: all jpgs, pngs and gifs


#4

For page resources, yes. Checkout this example.