function with random image and structures
Posted: Wed 14. Apr 2004, 11:50
hi there,
does someone know how difficult it is to make this:
I have 10 sructure levels and wish to have random images on the top of each page.
I don't want to make for every structure level a new template, but want to have a function, that is able to put images dedicated for each structure level per random on the top of the page.
I would like to store the images for e.g. in the phpwcms_filestorage folders and call them for e.g. like this:
for random images in level 1: folder 1
for random images in level 2: folder 2
and so on...
or is it possible to make it like:
imagename: nameoflevel_imgaename.jpg
and the function is able to read the first of the name and all images are stored in e.g. folder 1 of phpwcms_filestorage.
What do you think about?
greetings
does someone know how difficult it is to make this:
I have 10 sructure levels and wish to have random images on the top of each page.
I don't want to make for every structure level a new template, but want to have a function, that is able to put images dedicated for each structure level per random on the top of the page.
I would like to store the images for e.g. in the phpwcms_filestorage folders and call them for e.g. like this:
for random images in level 1: folder 1
for random images in level 2: folder 2
and so on...
or is it possible to make it like:
imagename: nameoflevel_imgaename.jpg
and the function is able to read the first of the name and all images are stored in e.g. folder 1 of phpwcms_filestorage.
What do you think about?
greetings