db set for server side images

..and some monkeying