WebSite X5Help Center

 
Tom G.
Tom G.
User

Reduce size of an image object  en

Auteur : Tom G.
Visité 1616, Followers 1, Partagé 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.

Posté le
8 RéPONSES - 3 UTILE - 1 CORRECT
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?

Lire plus
Posté le de 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

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Tom G.
Tom G.
User
Auteur

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?

Lire plus
Posté le de Tom G.
Tom G.
Tom G.
User
Auteur

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

Lire plus
Posté le de 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.

Lire plus
Posté le de 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.

Lire plus
Posté le de Andre E
Tom G.
Tom G.
User
Auteur

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

Lire plus
Posté le de Tom G.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

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

ciao

Lire plus
Posté le de  ‪ KolAsim ‪ ‪