Image Generation Error
Author: Hannu Konttinen
Visited 178,
Followers 1,
Shared 0
What causes the error message of the image attached to the text object?
The image is displayed correctly in the preview. After the page is published, the image shows an error message "image generation error".
Earlier versions did not have this problem. See the attachment.
Posted on the
Hello,
apologies for the issue.
When did the error occur? Is this, for example, a project that was imported from an earlier version, and if so which is the original version and which the current one?
Eric
Author
Hello,
The current version is WebSite X5 Pro 2024.4.4
Converted from previous WebSite X5 Evo 2024.2.8
According to my observation, the problems started with version WebSite X5 Pro 2024.4.4. There were no problems in the previous version of WebSite X5 Pro. In the latest WebSite X5 Pro 2024.4.4 version, I also implemented text object tabs.
T: Hannu
Hello Hannu,
could you please clarify something for me?
Were there already some Text objects with an image within in the original project coming from v2024.2.8, and upon converting it you noticed this, or is this occurring with Text objects you added after converting it into 2024.4?
Eric
Author
Hello!
The original versions had corresponding text objects with images. However, I have not used text object tabs before.
Now in the new version I have used text object tabs and the error may be related to this feature.
It would seem that the text object randomly discards images when publishing, because they are displayed correctly when previewing.
One page often has to be published several times for the pictures to be published.
Between publishing, I've always saved the pages that have pictures on the tabs. In the end, the publication is completely randomly successful.
Hannu
Author
Hello!
You can take a look at the structure of one of the problematic pages in the link:
https://www.secmeter.com/supo.html
Hannu, I see no errors in the text object tabs, there are 2 images displayed in the Asia tab.
However, in firefox the slide shows above the text object will only display the first image, the 2nd and subsequent images will not load. I tried the same page on chrome and it displays correctly after considerable time (are these images very large? Perhaps resize and resample down to the maximum resolution required to display on your website)
Have you cleared your browser cache or at least ctrl+F5 to reload the page or tried a different browser?
If you continue to have problems and suspect content on your host, try a full upload rather than new and changed. Since your preview works locally there could be some confusion on your host as to what may be required when files are updated.
In the worst case perhaps you could consider deleting existing content on your host and then doing a full upload although as far as I know your page is displaying correctly on my PC so that means the problem is your browser.
Author
Hello!
I removed all the old files from the server. I downloaded the site to a "clean slate". It helped. Now it works. Thanks for the advice. Probably the old version below caused the problem.
Hannu