Reputation: 3
we are using Amazon S3 for displaying images on our website. Right now, the images are saved with the keys:
myimages/193-image-small.jpg
myimages/193-image-large.jpg
myimages/194-image-small.jpg
myimages/194-image-large.jpg
and so on...
I can embed an image in my page with a code like this:
<img src="s3-zone.amazonaws.com/mybucket/myimages/193-image-large.jpg">
This is working nice and properly but I want to go a step further and display SEO friendly picture URLs for google like:
s3-zone.amazonaws.com/mybucket/myimages/193-super-great-title-for-my-picture.jpg
Is that in any way possible to implement and if yes - how?
Upvotes: 0
Views: 1769
Reputation: 269490
This is not possible. Each object in Amazon S3 has one Key Name.
Some options:
If you want to be SEO-friendly, it's much better to add an alt
field to the img
tag. That counts more than filenames.
For example, see: How to Optimize Images for Better Search Engine Rankings
Upvotes: 1