Relations and Subdirectories

While working on a project I needed to modify image-crud.  I ran into some issues with the automatic resizing of uploaded images.  This can now be set with a property.  The relation values were difficult to work with, I could set the field but I could not set the value.  This functionality is set.  I ran into issues with image-crud working in a subdirectory.  That was a huge rework of the getstate method.