added /by to @attr on imgs