PDA

View Full Version : How to add images


afaaro
04-12-2008, 09:18 AM
Can anyone tell me how to add images under each other at right side,

I tried to add image like:

<div>
<img src="images/test.gif">
<br>
<img src="images/test.gif">
</div>

It just shows the first image

Micha
04-12-2008, 03:40 PM
Line brake could be your problem here.
It is self-closing tag <br /> not <br>.

afaaro
04-12-2008, 08:03 PM
According to your suggestion, I have done it. But it did not solve

the first line image shows but the second one doesnt show! Why?

Micha
04-14-2008, 08:03 AM
Sorry my bad.

You image tag is also unclosed <img src="images/test.gif">.

Correct way would be <img src="images/test.gif" />.

afaaro
04-16-2008, 11:35 AM
the problem is it works with 1 image but the one under the top image doesn't show. why

Micha
04-16-2008, 11:40 AM
Can you share the URL of your website so I can take a look?

GISL
04-16-2008, 11:50 AM
Try the vte relative image path...

follow this example.

<img src="{VIVVO_THEME}img/video_placeholder.gif" alt="video">

afaaro
04-16-2008, 03:09 PM
I have tried but it doesn't work, the only image showup is the top one.

GISL
04-16-2008, 04:48 PM
Try this


<div>
<img src="{VIVVO_THEME}img/image_1.gif" alt="video1">
<br />
<img src="{VIVVO_THEME}img/image_2.gif" alt="video2">
<div />make sure your images are both in the "theme\default\img" folder

that should work because i just tried it.

afaaro
04-17-2008, 02:24 PM
Great! many thanks Travis and other supporters

GISL
04-17-2008, 03:48 PM
no problem.

kovacs
04-18-2008, 08:13 AM
You should still close your tags correctly: <img bla bla />

GISL
04-18-2008, 11:40 AM
You should still close your tags correctly: <img bla bla />


so mine isn't?

kovacs
04-18-2008, 11:51 AM
so mine isn't?

Exactly. You posted

<img src="{VIVVO_THEME}img/image_1.gif" alt="video1">

It should be

<img src="{VIVVO_THEME}img/image_1.gif" alt="video1" />

GISL
04-18-2008, 11:53 AM
thanks for the correction.