program ok, but didn't manage to find images that actually work withg the database approach. also: the own ideas don't seem to work, second row of output is different than 1st.