Picture-Sitemap for Google with TYPO3

How can I use TYPO3 to create a sitemap for images that I can submit to Google?

This is not about the sitemap element from the menu content elements to expand images but actually a list of all published images of my site.

There is an extension to create a XML sitemap of used images. But it is not 9 LTS compatible yet. https://extensions.typo3.org/extension/tgm_copyright/

UPDATE 12/2019

The extension is now compatible with 9 LTS as well.

Picture Copyrights and Image Sitemap (tgm_copyright), How can I use TYPO3 to create a sitemap for images that I can submit to Google? This is not about the sitemap element from the menu content  All pictures with a copyright can be listed with a plugin. An Image Sitemap XML for Google of ALL used images can be generated by this extension. This version supports TYPO3. 8 LTS 9 LTS. Tags. #fal #images #image #copyright #watermark #sitemap #picture #pictures #google

I don't think that you can have a list of all images in an easy way.

There are multiple ways to include images and all would need a side effect to mark the image for the picture sitemap. Additionally you might use images which should not be listed as others used the same way should be listed. e.g. some background images might be mentionable, some are only styling like shades or structure.

In earlier days of TYPO3 you could build an index of all files in uploads as each used image was copied there, but now you only can index your original folders and may include unused images.

You might use a spider to scan all generated pages for the usage of images, but images could be included in multiple ways nowadays. Aside of the old img tags there are picture and more difficult CSS hiding images in background attributes to avoid easy copying.

XML Sitemap in TYPO3, An Image Sitemap XML for Google of ALL used images can be generated by this extension. This version supports TYPO3. 8 LTS 9 LTS. Tags. #  This is the last version that supports TYPO3 4.x! Download ZIP Archive 1.0.8 / stable March 07, 2013 Compatibility with TYPO3 6.0. Added a scheduler task to create sitemap indexes and offline sitemaps. This is the last version compatible with TYPO3 4.x. 4.5.0 - 6.0.99

You can potentially do something using the data processors available since TYPO3 7.6 I believe.

e.g. using a combination of DatabaseQueryProcessor and FilesProcessor to fetch all content elements the user has access to:

lib.yourFluidTemplate = FLUIDTEMPLATE
lib.yourFluidTemplate {
    10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
    10 {
        table = tt_content
        pidInList = 1
        # all subpages as well
        recursive = 99
        as = contentElements

        dataProcessing {
            10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
            10 {
                # use field "assets"
                references.fieldName = assets
                as = files

the lib.yourFluidTemplate could be the template of your page or any fluid_styled_content template. As long is it uses FLUIDTEMPLATE content object.

After applying the typoscript above you should have a new variable in your fluid template named contentElements (the as variable defines what it's called), and each item should have a files key with the filenames.

This of course fetches all content elements starting from your root page (1 in this example) regardless if they have images or note, which might be excessive load.

Edit: you'd have to add one such configuration for each type of record, possibly multiple FilesProcessor configurations for each of them if it has multiple fields referencing images.

Sitemaps in TYPO3 automatisch erstellen, Sitemaps for Pages. If you install EXT:seo (depending on how you set up TYPO3 you might have to add the extension first, because it  Easy to use sitemap generator for pages and records. This version supports TYPO3. 7 LTS 8 LTS. Tags. #google #sitemap #XML

Different Sitemaps for Different Purposes, XML Sitemap mit TYPO3 9.5 erstellen. Seit TYPO3 9.4 bietet der TYPO3 Core einige SEO Features. In diesem Artikel möchten wir die  TYPO3manual.com is an online manual for editors working with TYPO3. It is powered by the web design agency Pixelant. Read more about Pixelant

Sitemap, All you need to know about video sitemaps, image sitemaps, & mobile sitemaps for the best search results. Ensure Google finds your content as soon as  Google Ads for TYPO3 removes the complexity of advertising on Google. It helps you to bring your site closer to your audience through intelligent keyword suggestions and prefilled forms, without any additional costs.

Image sitemaps - Search Console Help, TYPO3 version 9 · 1. How to create 5.1 Insert image or video file · 5.2 Delete, hide and move media within element · 6. Reference 10. Adding a Google map. The site is a static frozen image of a prior typo3 4.4 (so very out-of-date) installation. What do I have to do in order to let google know that this is not a dynamic typo3 instance any more? Details

  • Yes, I know this app. But with TYPO3 and tx_seo this EXT might be obsolete. At least I could not implement an egrnes update on TYPO3 9.5.
  • Thx Paul Beck i trotz the EXT.
  • Thank you Bernd, unfortunately not the answer I wanted to hear. ;-) Does not every image I incorporate standard TYPO3 functions have a ref index, which only counts up when multiple inclusion in the Project drn counter? So you could search through a DataProcessor all images from the filadmin and output the result of a fluid template?
  • I think this index is not reliable. every now and then a reference is missing or dead as a usage occurs without the core function which manages the references. and you still could miss images which get used in unusual ways like css, Also you can get references from records which are disabled.