Hi Jon,
recently the idea came into my mind that it would be nice to support a couple of specific image websites. An easy way to accomplish this is to provide a specific interface that allows images to be plugged in DF.
A very easy and tiny version would be (please remember that I don't know the DF code):
Image getNextRandomImage(String query);
The query parameter could be easily changed to some Dictionary or specific Query type:
List getSupportedCriteria();
Image getNextRendomImage(Query query);
where Query holds a dictionary mapping Criterions to user-set values, e.g
.
A Criterion would be something like: Group, User/Person, Keyword, Category, Search text (name and value type, e.g. String, Int32, Path, Double, some Enum-type etc.). For each of these Criterions the main interface can then display a form with the corresponding fields.
Sorry for being that explicit. I don't want to be arrogant in any way, I just think that SW developers sometimes can talk better in concrete implementation design language.
Just an idea of a wacky mind. :blank: What do you think about it?