Do you mean you want the images to link to the files, not their attachment pages?
Yes, but it’s not even linking to the attachment page. It’s like the media file itself is uploading as an attachment. When it’s uploading this way, I can’t customize the URL or change the name of the file. Unfortunately, someone else uploaded the media files so I don’t have the option of re-naming and then re-uploading them.
When ever you upload a media file, it is uploaded as an “attachment”, even if it is not displayed in a post or page. To be more specific, when you upload a media file, a new row in the wp-posts table of the database is created, where the post-type is set to “attachment”. The url of this kind of post-type is not a permalink, wich can be changed, but it’s the actual url where the file is located. You can change other things like the title, the description, the caption and so on.
A post or page is not a file, it’s just something written in the database, while the picture is a file saved on your server and referred to by the database! WP uses the same table for collecting posts, pages and attachments. If you display the image in a post, you will be able to modify the post permalink for SEO purposes.