Keyword

Stop Generating Random Names for Uploaded Images

  • George Nasis
  • George Nasis's Avatar Topic Author
  • Offline
  • Elite Member
More
5 years 1 month ago #171576 by George Nasis
Hallo,

in scope of image xml site map and more structured way of search results, I would like to know how I can prevent K2 to rename an image from test-image-uploaded to 32c2bfee790e49c093a0c22e10399cc8.

Thank you

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #171578 by JoomlaWorks
Replied by JoomlaWorks on topic Stop Generating Random Names for Uploaded Images
You can't, it's how K2 was worked since day 1. The filename is not really an issue when you have other complimentary data so that search engines can relate a search query with your image file. And by default, K2 will use the title of the item if you don't provide a separate caption for the item image.

If your images are not crawled by search engines, check if the /media folder is blocked in your robots.txt file (older Joomla versions blocked that folder by default unfortunately).

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • George Nasis
  • George Nasis's Avatar Topic Author
  • Offline
  • Elite Member
More
5 years 1 month ago #171579 by George Nasis
Replied by George Nasis on topic Stop Generating Random Names for Uploaded Images
Ok Fotis, I got it.

K2 will use the title of the item if you don't provide a separate caption for the item image.


Where K2 will use that the title of the item?

Thank you

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #171580 by JoomlaWorks
Replied by JoomlaWorks on topic Stop Generating Random Names for Uploaded Images
For the alt and/or title attributes of the <img> tags. This info is sufficient for search engines to classify your images, even if the filename is not relevant to the actual image (a hash).

Keep in mind that K2 v2.10 (which is coming in the next few days) also features structured data definitions which further assist in content indexing from search engines.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • George Nasis
  • George Nasis's Avatar Topic Author
  • Offline
  • Elite Member
More
5 years 1 month ago #171581 by George Nasis
Replied by George Nasis on topic Stop Generating Random Names for Uploaded Images
Good to hear that!

All the community is looking forward for this! (and v3)

Thank you very much!

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #171584 by JoomlaWorks
Replied by JoomlaWorks on topic Stop Generating Random Names for Uploaded Images
You're welcome.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum