photo bar optimization