Are there any potential usability pitfalls when using Typo3 for a photo agency website?

One potential usability pitfall when using Typo3 for a photo agency website is the lack of optimized image handling. This can lead to slow loading times and poor user experience. To solve this issue, you can implement lazy loading for images on your website, which will only load images as they come into view, improving performance and user experience.

// Lazy loading for images in Typo3
function add_lazy_loading_to_images($content) {
    return str_replace('<img ', '<img loading="lazy" ', $content);
}
add_filter('the_content', 'add_lazy_loading_to_images');