image versions bugfixes
strange image extension filename handling