Image preview is returned appended to the span for the upload field. Want it to replace the a href instead of appending it to the wrapper. needs a replaceChild function for XMLElement
Removed var_dump()
Added crop and width, height fallback if not specified in settingsPanel
Using removeChildAt to replace the wrapper element with an img + href instead of just href