|
Posted by Tony on 09/28/31 11:17
"Luigi Donatello Asero" <jaggillarfotboll@telia.com> wrote in message
news:5gKme.25959$d5.176406@newsb.telia.net...
>
>>
>> If you use a database, simply use that as a source to create the arrays.
>> --
>
>
> Do you imply that I would not necessarily need a database and just write
> the
> file extension and the path of each picture?
> That might work well for 7 pictures but what about 800?
>
If you're using sequential numbers and they're all in the same directory,
that wouldn't be much of a problem. If they're all different names and/or
they're in different directories, it would get more complex.
Why not give a little more detail? You want to show a different picture
every day - is that every day of the week (every Monday shows the same pic),
every day of the month (the 1st always shows the same), every day of the
year (Feb 1st always shows the same, every year)?
Not meaning to sound condescending - but 800 pictures would take about 2-1/2
years to cycle through. Even for a different picture for every day, you
wouldn't need more than 366 pictures (an extra for leap year :) )
If I was doing anything monthly or less, I don't know that I would bother
with a database.
Navigation:
[Reply to this message]
|