new funcs to get pics in imagedir class