Image reduction

Hello

I am having difficulties with the presentation of floated (either left or right) images in the text.

E.g., the image has a physical width of say 400px. It has a caption and a description underneath. Using

[(#TEXTE|image_reduire{**350**,0})]

gives proper results.

Now I want to decrease the image presentation without changing the physical image dimensions (i.e. no document editing): I changed the lines from above to

[(#TEXTE|image_reduire{**200**,0})]

As a result the presentation of the image itself has changed from width=350 to width=200 as it should be. The width « reserved » for the image, however, has not changed. It is the same width as before. That means now a blank area appears next to the right hand side of the image.

It seems that this behavior only occurs with images having a caption and/or a description. The width of these texts don’t change as the image does.

Thanks for any help.

Ulrich

P.S.: Why not changing the physical image dimensions of the image? - I use the same images in different templates with different functions.

Hi

Have you tried to empty the images cache?

George

Quoting Ульрих <uhfmb@mail.ru>:

Hello

I am having difficulties with the presentation of floated (either left or right) images in the text.

E.g., the image has a physical width of say 400px. It has a caption and a description underneath. Using

<div class="texte">
[(#TEXTE|image_reduire{350,0})]
</div>

gives proper results.

Now I want to decrease the image presentation without changing the physical image dimensions (i.e. no document editing): I changed the lines from above to

<div class="texte">
[(#TEXTE|image_reduire{200,0})]
</div>

As a result the presentation of the image itself has changed from width=350 to width=200 as it should be. The width "reserved" for the image, however, has not changed. It is the same width as before. That means now a blank area appears next to the right hand side of the image.

It seems that this behavior only occurs with images having a caption and/or a description. The width of these texts don't change as the image does.

Thanks for any help.

Ulrich

P.S.: Why not changing the physical image dimensions of the image? - I use the same images in different templates with different functions.

Yes, I've done all maintenance several times, emptied the caches, "repaired" the database. Even creating a new article with this image didn't work. SPIP has a rock solid memory.

On 3 Jan 2013, at 11:51, George wrote:

Hi

Have you tried to empty the images cache?

George

Quoting Ульрих <uhfmb@mail.ru>:

Hello

I am having difficulties with the presentation of floated (either left or right) images in the text.

E.g., the image has a physical width of say 400px. It has a caption and a description underneath. Using

<div class="texte">
[(#TEXTE|image_reduire{350,0})]
</div>

gives proper results.

Now I want to decrease the image presentation without changing the physical image dimensions (i.e. no document editing): I changed the lines from above to

<div class="texte">
[(#TEXTE|image_reduire{200,0})]
</div>

As a result the presentation of the image itself has changed from width=350 to width=200 as it should be. The width "reserved" for the image, however, has not changed. It is the same width as before. That means now a blank area appears next to the right hand side of the image.

It seems that this behavior only occurs with images having a caption and/or a description. The width of these texts don't change as the image does.

Thanks for any help.

Ulrich

P.S.: Why not changing the physical image dimensions of the image? - I use the same images in different templates with different functions.

_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

Le 03/01/13 11:16, Ульрих a écrit :

As a result the presentation of the image itself has changed from
width=350 to width=200 as it should be. The width "reserved" for the
image, however, has not changed. It is the same width as before. That
means now a blank area appears next to the right hand side of the image.

Don't you have a css rule which define the width of the container to
350px or something like ?

(Or: could you give an url to look at it ?)

Best wishes for 2013 and the next century.

--
Suske