WebSite X5Help Center

 
Paolo B.
Paolo B.
User

Multiple folders for "image" files  en

Autor: Paolo B.
Visitado 296, Followers 1, Compartido 0  

In WX5 Pro version v2022 and v2023 it was possible to set a specific site folder as images source for each image object on a page.

Now in version WX5 Pro v2024 this choice is no more possible and all the images choosen are placed in the "images" folder.

Is there a way to still have this choice in v2024 ?

(the reason is to have a clearer and more orderly distribution of images stored on the site in case of having many and many images relating to different topics)

Thank you in advance for any useful answer

Publicado en
6 RESPUESTAS - 2 úTIL
Incomedia
Eric C.
Incomedia

Hello Paolo,
exporting a test website with v2022 I did not notice differences in the structure of the root directory compared to v2024, and here as well the images are stored in the "gallery" and "images" folders within.
In general, an option to choose a specific folder instead of those default ones was not available in previous versions either, could you please provide additional details in case I misunderstood something?
Thank you.

Eric

Leer más
Publicado en de Eric C.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

(It > En) ...as a concrete idea, ... since it is possible to use URLs for images, then you could attach them to the project, for example in the "files" folder proposed by default...
... for example, if you attach the image "imagename.jpg" in the "files" folder, in the image object use as URL:
files/imagename.jpg
... to avoid weighing down the project it would be better to send the images to the site online in prepared folders with an FTP client or with the server's FileManager, and then for the image objects use the relative URLs...
... in this way the Project will be very light and fast in exporting online...

.

ciao

.

Leer más
Publicado en de  ‪ KolAsim ‪ ‪
Paolo B.
Paolo B.
User
Autor

Thank you Eric for your answer.

I am not saying that the structure of root directory has changed.

I'm say that in the Image Object creation there is no more the possibility to indicate a site folder as location of an image. I attache a screen shot of old way, that now is impossible to obtain. In the example below (Image Object creation in previous versions) the image "62000b_2.jpg" will be located in the directory "Chroma/62000b/" under siteRootDirectory. (Note: this directory is created by myself and not by WX5)

Now in ver. 2004 there is no possibility to indicate the site path of the file, and so the image will be located in the general "images" directory under siteRootDirectory, without any option to change it.

I hope my point is clear enough now.

Thank you in advance for your attention

Paolo

Leer más
Publicado en de Paolo B.
Paolo B.
Paolo B.
User
Autor

KolAsim, thank you very much for your answer: it remind mi of the option to use URLs for images, and this solve my problem. Really happy.

Leer más
Publicado en de Paolo B.
Paolo B.
Paolo B.
User
Autor

Eric, following suggestion from KolAsim, I just remembered the option of using URLs for images that solve my problem.

Sorry for bothering you, it was my fault.

Thank you very much anyway

Paolo

Leer más
Publicado en de Paolo B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... OK ... ciao ...

Leer más
Publicado en de  ‪ KolAsim ‪ ‪