Keyword

Stop Generating Random Names for Uploaded Images

  • George Nasis
  • George Nasis's Avatar Topic Author
  • Offline
  • Elite Member
More
4 months 1 day ago #171576 by George Nasis
George Nasis created the topic: Stop Generating Random Names for Uploaded Images
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.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
4 months 1 day ago #171578 by Fotis
Fotis replied the 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).

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • George Nasis
  • George Nasis's Avatar Topic Author
  • Offline
  • Elite Member
More
4 months 1 day ago #171579 by George Nasis
George Nasis replied the 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.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
4 months 12 hours ago #171580 by Fotis
Fotis replied the 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.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • George Nasis
  • George Nasis's Avatar Topic Author
  • Offline
  • Elite Member
More
4 months 11 hours ago #171581 by George Nasis
George Nasis replied the 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.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 months 4 weeks ago #171584 by Fotis
Fotis replied the topic: Stop Generating Random Names for Uploaded Images
You're welcome.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

Moderators: william white

Powered by Kunena Forum