Can I make a suggestion

Our images directory is located under images/somepath, so unfortunately we don't have an images/editor directory and your queries into the bbcode table use the standard images/editor path so we've had to manually create that directory just to make the images show for this modification. Would it not be possible to use the current styles images path to point to the image instead? I haven't really looked into whether it's possible yet as I don't have time but thought this may help out others users in future..