// Define background images for specific pages using slugs or IDs
$background_images = [
'about' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/achievement-agreement-arms-bump-business-cheer-up-1433619-pxhere.com_.webp',
'our-publications' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/tinywow_pexels-tara-winstead-6479551_36103661-scaled.webp',
'contact' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/africa-african-african-american-african-descent-agenda-american-1437383-pxhere.com_.webp',
'copywriting' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/04/Copywriting-TSI-Header-scaled-1.webp',
'e-commerce' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/tinywow_pexels-negative-design-1447299_36114966-scaled.webp',
'home' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/05/Icon-TSI.webp',
'login' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/tinywow_pexels-skyler-ewing-6131869_36104190-scaled.webp',
'graphic-design' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/08/Graphic-Design-scaled.webp',
'online-quote-copywriting-amp-translations' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/Request-quotation-TSI-Digital-Solution-scaled.webp',
'online-quote-ecommerce' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/Request-quotation-TSI-Digital-Solution-scaled.webp',
'online-quote-graphic-design' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/Request-quotation-TSI-Digital-Solution-scaled.webp',
'online-quote-photo-amp-videography' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/Request-quotation-TSI-Digital-Solution-scaled.webp',
'online-quote-social-media' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/Request-quotation-TSI-Digital-Solution-scaled.webp',
'online-quote-technical' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/Request-quotation-TSI-Digital-Solution-scaled.webp',
'online-quote-websites' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/Request-quotation-TSI-Digital-Solution-scaled.webp',
'overview-quotation' => 'https://tsidigitalsolution.com/wp-content/uploads/2025/01/Quote-Example-e1735856823785.webp',
'photo-videography' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/04/Photo-Videography-header-scaled-1.webp',
'projects' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/achievement-agreement-arms-bump-business-cheerful-1456477-pxhere.com_.webp',
'services' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/laptop-computer-writing-working-table-person-764428-pxhere.com_.webp',
'social-media-management' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/04/smartphone-hand-man-technology-phone-telephone-660056-pxhere.com_.webp',
'technical' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/04/Technical-Header-scaled-1.webp',
'websites' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/08/Websites-scaled.webp',
'Lease your website till it’s yours' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/05/TSI-Digital-Solution-Lease-your-website-till-its-yours-scaled.webp',
'Benefits of Having an Animated 3D Logo' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/05/Animated-3D-Logo-with-TSI-scaled.webp',
'The Future Of AI' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/05/AI.webp',
'SEO, Unlocking The Power' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/06/SEO-Unlocking-the-Power-scaled.webp',
'Ads vs. SEO' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/06/Ads-vs.-SEO-Which-is-Best-for-Your-Business-scaled.webp',
'Marketing versus Branding' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/06/Marketing-versus-Branding-scaled.webp',
'New Ways of Working (NWOW)' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/06/New-Ways-of-Working-scaled.webp',
'Comparing E-Commerce Platforms' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/06/Woocommerce-by-TSI-Digital-Solution-scaled.webp',
'Social Media Manager' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/07/Social-Media-Management-TSI-Digital-Solution-scaled.webp',
'The Power of a Digital Footprint' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/07/Digital-Footprint-by-TSI-Digital-Solution-scaled.webp',
'Steps to Develop a Responsive Website' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/07/Steps-to-develop-a-responsive-website-scaled.webp',
'The Most Asked Questions About AI' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/07/Artificial-Intelligence-by-TSI-Digital-Solution-scaled.webp ',
'How to start with Digital Marketing' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/08/How-to-start-with-Digital-Marketing-A-Beginners-Guide-by-TSI-Digital-Solution-scaled.webp',
'Celebrating Two Years of TSI Digital Solution' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/08/Celebrating-Two-Years-of-TSI-Digital-Solution-scaled.webp',
'Why Outsourcing Your Social Media Management?' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/08/Outsourcing-Social-Media-Management-to-TSI-Digital-Solution-scaled.webp',
'The Power of Google and Social Media Ads' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/08/The-Power-of-Google-and-Social-Media-Ads-scaled.webp',
'Unveiling the Power of Heatmaps' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/08/The-Power-of-Heatmaps-by-TSI-Digital-Solution-scaled.webp',
'What is HTML' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/08/html-scaled.webp',
'What is CSS' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/08/CSS.webp',
'Technical Precision in Copywriting & Translation' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/08/Technical-Precision-in-Copywriting-Translation-scaled.webp',
'Responsive Web Design' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/08/Responsive-Web-Design.webp',
'Copywriting in Digital Marketing' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/08/Copywriting-scaled.webp',
'Understanding Backlinks' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/09/Backlinks-scaled.webp',
'Why WooCommerce is the Best E-Commerce Solution for Your Business' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/09/Shop-Woocommerce-scaled.webp',
'Different Types of Logos' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/09/Types-of-Logos.webp',
'How Important is Mobile Marketing in Digital Marketing?' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/09/How-Important-is-Mobile-Marketing-in-Digital-Marketing-scaled.webp',
'The Complete Guide to Landing Pages' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/09/Landing-page-by-TSI-Digital-Solution.webp',
'The Top 20 Most Asked Questions in Digital Marketing' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/09/Top-20-most-asked-questions-in-Digital-Marketing-scaled.webp',
'How Can Graphic Design Contribute to SEO' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/09/How-Can-Graphic-Design-Contribute-to-SEO-scaled.webp',
'Google My Business' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/09/Google-My-Business-scaled.webp',
'Why Redesigning Your Website is Key to Success in Digital Marketing' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/09/Benefits-of-website-redesign-scaled.jpg',
'Speeding Up Websites' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/09/Speeding-Up-Websites-scaled.webp',
'Multiple Domains vs. Redirecting Domains' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/10/Multiple-Domains-vs.-Redirecting-Domains-scaled.webp',
'How to Increase Organic Reach on Social Media' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/10/How-to-Increase-Organic-Reach-on-Social-Media-scaled.webp',
'Mastering Digital Marketing Funnels' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/10/Mastering-Digital-Marketing-Funnels-scaled.webp',
'Digital Marketing Trends 2025' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/11/Digital-Marketing-Trends-2025-scaled.webp',
'The Human Side of Social Media' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/11/The-Human-Side-of-Social-Media-scaled.webp',
'Neural Response Mapping' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/11/Neural-Response-Mapping-scaled.webp',
'Rethinking Social Media Management' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/11/Rethinking-Social-Media-Management-scaled.webp',
'Media Optimization' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/11/media-optimization.webp',
'The AI Website Trap' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/12/The-AI-Website-Trap-scaled.webp',
'Responsiveness' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/12/Responsiveness-scaled.webp',
'Website Hosting' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/12/Website-Hosting-scaled.webp',
'Thank You 2024' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/12/Thank-You-from-TSI-Digital-Solution.webp',
'Your Website: Your Digital ID Card' => 'https://tsidigitalsolution.com/wp-content/uploads/2025/01/Digital-ID-Card-scaled.webp',
'Landing Page vs. Homepage' => 'https://tsidigitalsolution.com/wp-content/uploads/2025/01/Landing-Page-vs.-Homepage-scaled.webp',
'TSI Digital Solution's Starterkit' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/tinywow_pexels-negative-space-34578_36108855-scaled.webp',
'Social Media Management a Digital Marketing Agencys Secret Weapon' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/tinywow_pexels-paul-kerby-genil-3111692_36108181-1-scaled.webp',
'Graphic Designs for Effective Digital Marketing' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/Graphic-Designs-for-Effective-Digital-Marketing-scaled.webp',
'Demystifying Digital Marketing & Social Media' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/the-7-Cs-of-digital-marketing-scaled.webp',
'What Is Digital Marketing?' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/04/What-is-Digital-Marketing-scaled.webp',
'Pros and Cons of Developing a Website in Figma' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/03/Figma.webp',
'Pros and Cons of Developing a Website in WordPress' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/08/WordPress.webp',
'Pros and Cons of Developing a Website in Wix' => 'https://tsidigitalsolution.com/wp-content/uploads/2024/08/Wix-1.webp',
'DIY Website Courses' => 'https://tsidigitalsolution.com/wp-content/uploads/2025/03/DIY-Website-Courses-scaled.webp',
'Mastering Color Palette Rules' => 'https://tsidigitalsolution.com/wp-content/uploads/2025/02/Color-Palette-Rules-scaled.webp',
'The Anatomy of a perfect website' => 'https://tsidigitalsolution.com/wp-content/uploads/2025/02/The-Anatomy-of-a-Perfect-Website-scaled.webp',
'Google My Business gmb The Underrated Goldmine' => 'https://tsidigitalsolution.com/wp-content/uploads/2025/02/Google-My-Business-GMB-–-The-Underrated-Goldmine-scaled.webp',
'The Untapped Power of Social Media' => 'https://tsidigitalsolution.com/wp-content/uploads/2025/02/The-Untapped-Power-of-Social-Media-scaled.webp',
'Your Path To Mobile Marketing Success' =>'https://tsidigitalsolution.com/wp-content/uploads/2025/01/Your-Path-to-Mobile-Marketing-Success-scaled.webp',
}
];
// Get the current page slug (or ID)
$current_slug = get_post_field('post_name', get_the_ID());
// Check if the current page slug exists in the background image array
if (array_key_exists($current_slug, $background_images)) {
// Preload the background image
echo '';
}
Redesigning Your Website is Key to Success Get An Online Quote Benefits of Website Redesign. Why redesign your website A website is more than just a virtual storefront. It’s your brand’s first impression, a key touchpoint for customers, and a vital part of your digital marketing strategy. However, just like technology evolves, your website needs […]
How Can Graphic Design Contribute to SEO Get An Online Quote Graphic Design & SEO. A New Approach to Digital Marketing Success When most people think about SEO (Search Engine Optimization), their minds go straight to keywords, meta tags, and backlinks. However, the role of graphic design in SEO is often overlooked, even though it […]
The Top 20 Most Asked Questions in Digital Marketing Get An Online Quote Top 20 Most Asked Questions. Insights from TSI Digital Solution You often find yourself grappling with a plethora of questions? At TSI Digital Solution, we understand that navigating this dynamic field can be daunting. That’s why we’ve compiled the top 20 most […]
The Complete Guide to Landing Pages Get An Online Quote Landing Page. What They Are and How They Benefit Your Business Everyone talks about creating websites, blogs, and social media pages, but there’s one thing that often stands out as a key factor in successful campaigns: the landing page. If you’ve ever clicked on an […]
How Important is Mobile Marketing? Get An Online Quote Mobile Marketing. it’s the future of marketing Mobile marketing has emerged as a powerful tool for brands and businesses. But what makes it so crucial in the digital marketing ecosystem? This blog will dive deep into how it works, its future, and the many advantages it […]
Why WooCommerce is the Best E-Commerce Solution for Your Business Get An Online Quote WooCommerce. offering unmatched customization and scalability As a business owner, selecting the right platform to power your online store is one of the most critical decisions you’ll make. Among the many e-commerce platforms available today, WooCommerce has distinguished itself as a […]
Responsive Web Design: A Must for Modern Websites Get An Online Quote Understanding Responsive Web Design. Discover the benefits of a responsive site from TSI Digital Solution People access websites on a multitude of devices, from smartphones and tablets to laptops and desktops, responsiveness is no longer a luxury. It’s a necessity. But what does […]
What is CSS? Get An Online Quote CSS. Making Your Website Look Great and Work Seamlessly When you browse the web, have you ever thought about what makes websites look so good? How do those buttons get their colors, or how do those images sit perfectly on the screen? The answer often lies in something […]
What is HTML? Get An Online Quote Understanding HTML. The Backbone of Web Development HyperText Markup Language, or HTML, is the standard language used to create and design webpages on the internet. Often regarded as the backbone of web development, it is the fundamental building block that structures content on the web. It was first […]
Steps to Develop a Responsive Website Get An Online Quote Your Website. What You Need and How TSI Digital Solution Can Help Having a stunning website is crucial for any business aiming to make an impact online. But what exactly does it take to build a website that not only looks great but also functions […]