• Join the best UK dedicated SEO Forum

    Provide or get advice on everything SEO, ask questions, gain confirmation or just become apart of a friendly, like minded community who love SEO and Online Marketing.


    Join 50,000 members!

Duplicate image naming convention?

F

frenchy

New Member
Hello,

My users can upload images to my site, images revolve around a product, I name the image file names after the product name.

What should I do when more than one image exists for the same product, for example, a user uploads a picture of their Nintendo Switch, the system creates a file called "nintendo-switch.jpg", now another user uploads a different picture of a Nintendo Switch, what should the system name the file?

I've considered numerical numbering: "nintendo-switch.jpg", "nintendo-switch-1.jpg", "nintendo-switch-2.jpg".

I've considered adding a hash to each image: "nintendo-switch-aso92jd.jpg", "nintendo-switch-87676as.jpg".

I've considered storing each image in it's own folder, corresponding to an id in a database and calling all the images the same name: "/22/nintendo-switch.jpg", "23/nintendo-switch.jpg".

Please note, there is no way for the user to name the images themselves, I just need a naming convention that I can code that is seo freindly.
 
Business SEO Services Business SEO services UK

Latest Products

Join the UK's SEO community

Ask about a ranking drop, share a test result, get a second opinion on a link. Membership is free and takes a minute.

Create a free account
Top