renaming image preivew and advanced class