User definable max width and height for images.  User definable relation value.  Now works in a subdirectory with minimal effort, also reworked URL's as part of this for defining relations as the last key value.