Every time an image is uploaded in wordpress, it receives a different rel atribute, for example rel="attachment name123", and I want to select every image with a rel atribute, regardless of their name. Is this possible?
EDIT: Actually they are links so thanks to the answers the correct way to select links is:
a[rel] {pointer-events: none; cursor: default;}
That's for removing the links.
You can select all images with a rel attribute defined by:
img[rel] {
}