def get images