WebSite X5Help Center

 
Paul G.
Paul G.
User

Image refresh  en

Autor: Paul G.
Visitado 1223, Seguidores 1, Compartilhado 0  

I would like to setup a page with three or four images that I can change daily. I would upload to the server 4 new images with the same name. The object is to change images without changing the webpage and rebuilding. So far I have tried this but the page continues to show the original images. Do you know if ther is a way to daily change images on a web page.

Publicado em
5 RESPOSTAS - 2 ÚTEIS - 1 CORRIGIR
Andre E
Andre E
Moderator
Usuário do mês EN

Paul, most easy way is to create an -html ang wizard box- on your page

Set this code in for 4 pictures.

<IMG SRC="picture1.jpg" ALT="text regarding picture1" WIDTH=400 HEIGHT=320>

<IMG SRC="picture2.jpg" ALT="text regarding picture2" WIDTH=400 HEIGHT=320>

<br>

<IMG SRC="picture3.jpg" ALT="text regarding picture3" WIDTH=400 HEIGHT=320>

<IMG SRC="picture4.jpg" ALT="text regarding picture4" WIDTH=400 HEIGHT=320>

Or create 4 html wizard boxes an set only 1 picture code in them

set the pictures in your home page map on your webserver.

That's it you only have to update the pictures with the same name.

If you want to look at it in preview set the pictures in your preview map on your pc this should be someting like this: c:\documentes and settings\your name\my documents\incomedia website x5 v10 professional\your project name\preview.

Ler mais
Publicado em de Andre E
Paul G.
Paul G.
User
Autor

Thank you,

Does the "IMG SRC="picture.jpg" contain an address/folder on the server? If not where do the pictures live? i.e. www.website/images/picture1.jpg

Guess I don't understand this part of the answer - "set the pictures in your home page map on your webserver."

Paul

Ler mais
Publicado em de Paul G.
Incomedia
Claudio D.
Incomedia

Hello Paul,

In the scr tag you need to write the address/folder of the image on the server.

If you upload it in the root you write only the name of the image with the extension (picture.jpg) otherwise if it is in a folder you write also the name of the folder (folder/picture.jpg).

Many thanks!

Ler mais
Publicado em de Claudio D.
Paul G.
Paul G.
User
Autor

Please tell me what I am doing wrong. Have I not understood the answer. I have tries the slashes both ways (linux server) "/", "\", normally I use windows format. The images do not show up in test or online. Although, the text shows up in both (test & online).

Ler mais
Publicado em de Paul G.
Andre E
Andre E
Moderator
Usuário do mês EN

Paul,

Where did you upload the files in wich map/directory ?

If you put them inside the images map and the site is inside the map before images then the url is: 

<IMG SRC="Images/7010.jpg" ALT="text regarding picture1" WIDTH=400 HEIGHT=320>

Be aware of capitals ! like "Images" and "images", these should all be exactly the same as you have sepratly uploaded. this counts also for  .jpg and .JPG or .JPG !

Ler mais
Publicado em de Andre E