no params array available - use imgDir directly