Close #7
Added a trigger to rotate tags on images.
Divided the triggers into pre save and post save, this to avoid the cache getting things from the database before the new information was saved which gave weird problems.