I have recently changed the server that my wordpress site was on. I've also made a change to the URL.
I ran duplicator on the old site, uploaded it on the new site but since the change I've had some weird things happening.
On one of my portfolio pages its showing a load of missing images - however if I click on them and inspect then it shows the url, which if I visit it, its there fine.
I've also got image thumbnails missing in my media library, but when I check - they are there
I've installed a thumbnail regenerator which says its finished but nothing has changed. Any ideas what's happened? The only thing I can think is that I've gone from php 7.3.28 to 8.0.21 but I cant think that would make some images fail and others ok?
I've deactivated all the plugins and the media was the same so everything is reactivated now.
This is the code from one that is displaying correctly:<img width="60" height="60" src="https://example.com/wp-content/uploads/2022/07/website-services-150x150.jpg" class="attachment-60x60 size-60x60" alt="" loading="lazy" srcset="https://example.com/wp-content/uploads/2022/07/website-services-150x150.jpg 150w, https://example.com/wp-content/uploads/2022/07/website-services-300x300.jpg 300w, https://example.com/wp-content/uploads/2022/07/website-services-800x800.jpg 800w, https://example.com/wp-content/uploads/2022/07/website-services-768x768.jpg 768w, https://example.com/wp-content/uploads/2022/07/website-services.jpg 1080w" sizes="(max-width: 60px) 100vw, 60px">
and this is missing thumbnail<img width="60" height="60" src="https://example.com/wp-content/uploads/2022/07/advertising-5-150x150.jpg" class="attachment-60x60 size-60x60" alt="" loading="lazy" srcset="https://example.com/wp-content/uploads/2022/07/advertising-5-150x150.jpg 150w, https://example.com/wp-content/uploads/2022/07/advertising-5-300x300.jpg 300w, https://example.com/wp-content/uploads/2022/07/advertising-5.jpg 500w" sizes="(max-width: 60px) 100vw, 60px">
So there are a few sizes different but that shouldnt stop the thumbnail showing?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.
PHP (from the English Hypertext Preprocessor - hypertext preprocessor) is a scripting programming language for developing web applications. Supported by most hosting providers, it is one of the most popular tools for creating dynamic websites.
The PHP scripting language has gained wide popularity due to its processing speed, simplicity, cross-platform, functionality and distribution of source codes under its own license.
https://www.php.net/
React is currently the leader in JavaScript UI frameworks. First, the Facebook developers started working on this to make their job easier. An app called Facebook Ads grew very quickly, which meant complex management and support. As a result, the team began to create a structure that would help them with efficiency. They had an early prototype before 2011, and two years later, the framework was open source and available to the public. It is currently used by many business giants: AirBNB, PayPal, Netflix, etc.
https://reactjs.org/
Welcome to the Q&A site for web developers. Here you can ask a question about the problem you are facing and get answers from other experts. We have created a user-friendly interface so that you can quickly and free of charge ask a question about a web programming problem. We also invite other experts to join our community and help other members who ask questions. In addition, you can use our search for questions with a solution.
Ask about the real problem you are facing. Describe in detail what you are doing and what you want to achieve.
Our goal is to create a strong community in which everyone will support each other. If you find a question and know the answer to it, help others with your knowledge.