WebSite X5Help Center

 
Ian T.
Ian T.
User

Images Disappearing  en

Автор: Ian T.
Просмотрено 679, Подписчики 1, Размещенный 0  

I want to use the same .png logo image in a header and a footer and it was working ok until when I go into template section for any reason, the logo image in the footer is then no longer present in the previews or pages, there's just a a rectangle (correct size and position) and the browser 'no-image' icon. The same image is still present in the header and it's also still present in the foother sectionj of the template. The only thing that bings it back is if I temporarily swap the images for a different one and then reload the correct one. That fixes the problem but only until until next time I touch the template section. I am getting sick of having to do this.

If I place the same image in the header and the footer then this should be the same resource, however for some reason X5 is altering the file name, creating two versions of the same image with different file names and then one of them is disappearing. I have set the Image Optimization option to 'none' so  X5 shouldn't be messing with my images at all. It's going to make for evry inefficient websites if the same resource id duplicated with different file names, and then if some of those files are getting deleted you end up with a mess.

How can I avoid these problems without having to manually edit the generated HTML?

Размещено
1 Ответы
Aleksej H.
Aleksej H.
Moderator

Hello. Try to insert an image using the HTML object. For example, like this

<img src="https://site.com/images/logo.png" alt="logo" />

Or try after changing the logo to hold down the CTRL key and click on the preview.

Читать больше
Размещено От Aleksej H.