Nuacht
For rotation, do you mean e.g. turn it upside down, or rotate it among a set of images (i.e. replace it with the next in the set)? For the former, see here. The latter should be easy to find ...
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana