WebSite X5Help Center

 
Tom G.
Tom G.
User

Reduce size of an image object  en

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

Is there a way to insert an image object on the page reducing it's size?

For example, the picture's size is 1000x600 pixels and I would like to display it as 250x150px.

Размещено
8 Ответы - 3 Полезно - 1 Корректно
Andre E
Andre E
Moderator

Maybe I am too sinple, but why not use a picture edittor (irfanview) and change the size of the picture?

Читать больше
Размещено От Andre E
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

(It > De) ... Ich weiß nicht, ob ich es verstehe.
... könnten Sie das HTML-Code-Objekt verwenden
1) hängen Sie das Bild mit dem Namen "bildname.jpg" an das Projekt an und lassen Sie "files" als standardmäßig vorgeschlagenen Zielordner.
2) Fügen Sie dann diese Zeichenfolge ein  (x ratio) :

<img width="250" src="files/bildname.jpg" /> 

.

ciao

.

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
Tom G.
Tom G.
User
Автор

Sure, Andre, I thought about it, too.

But further on, I will be using jQuery animate() method, so I need sharp large picture and not a small picture zoomed out to not sharp large image.

So, any ideas? Maybe additional code?

Читать больше
Размещено От Tom G.
Tom G.
Tom G.
User
Автор

KolAsim, thank you for your response, but I only can use English or Polish...

Читать больше
Размещено От Tom G.
Andre E
Andre E
Moderator

Kolasim says you can use the html object and then set code, see that the options in the hetml object are as you wish then:

<img width="250" src="files/bildname.jpg" /> 

or

<img width="250" height="150" src="files/bildname.jpg" />

second thing to do:

set in step1 , advanced TAB, Seo and code -> statistics seo and code tab

the file-> bildname.jpg in the linked file to upload to server, you can add the picture.

leave the rest as it is.

upload project.

Читать больше
Размещено От Andre E
Andre E
Andre E
Moderator

If you want a simpeler solution:

Use the text object, add the picture there, you can set the size (only aspect ratio) to whatever suits your page / object (test in preview) -> done.

Читать больше
Размещено От Andre E
Tom G.
Tom G.
User
Автор

KolAsim, Andre - both methods work fine!
Thanks a lot!

Читать больше
Размещено От Tom G.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... Tom, ... sorry, I was wrong idiom, ... and thanks a lot to Andre.

ciao

Читать больше
Размещено От  ‪ KolAsim ‪ ‪