*

katalin2k

  • ***
  • 97 posts
Renaming thumbnails to listing title slug
« on: February 08, 2025, 08:14:58 PM »
I would suggest renaming images to product title slug instead of a random string of numbers, it will improve SEO a lot.
In the meanwhile can you tell me where to find the functions that are responsible for image name generation so I can try it myself? I can't seem to find anything related to image renaming...

*

katalin2k

  • ***
  • 97 posts
Re: Renaming thumbnails to listing title slug
« Reply #1 on: February 14, 2025, 09:36:38 PM »
Anyone?

*

MB Themes

Re: Renaming thumbnails to listing title slug
« Reply #2 on: February 18, 2025, 05:10:22 PM »
No plans for that, not simple change.
A lot of core functions, plugins and themes would have to be changed.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

katalin2k

  • ***
  • 97 posts
Re: Renaming thumbnails to listing title slug
« Reply #3 on: February 20, 2025, 08:01:40 PM »
No plans for that, not simple change.
A lot of core functions, plugins and themes would have to be changed.
If you tell me what files would need modifications I would try to do it myself.

*

MB Themes

Re: Renaming thumbnails to listing title slug
« Reply #4 on: February 20, 2025, 08:18:04 PM »
 :) ... its called development man.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

katalin2k

  • ***
  • 97 posts
Re: Renaming thumbnails to listing title slug
« Reply #5 on: February 21, 2025, 11:12:58 AM »
:) ... its called development man.
Of course it is but it seems to me you don’t want anyone to do this.

*

MB Themes

Re: Renaming thumbnails to listing title slug
« Reply #6 on: February 21, 2025, 02:40:25 PM »
You have code, you can go for it, but I see this is not work that could be discussed on forums in way "tell me file, line and what code to change..."
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Wiz

  • ****
  • 163 posts
Re: Renaming thumbnails to listing title slug
« Reply #7 on: February 21, 2025, 04:29:14 PM »
This is actually a very valid point that katalin2k raises as proper/linked filename naming adds context even when image indexing is disabled at the robots.txt file level. Search engines love context and the more context that's provided, the better the ranking.

You should first look at ItemActions.php, specifically uploadItemResources function to get an understanding of how uploaded resources get named, analyze dependencies and identify were changes are needed not just in core, but also in plugins that handle listing resources then code it in.