More logic added to images_only parameter

I've added a few features I needed myself for an implementation:

Now removes image url from text if images_only is set instead of adding an <a> tag.
Added display_url to {images}, links to the display page for the image.