changed regex to find image extension

added $ so that only the last occurence in a string is matched.
this was not definately necessary, but is more accurate

Signed-off-by: Andreas Geibert <ageibert@cemico.de>
Merge branch 'master' of github.com:geibi/pictureserve