WebSite X5Help Center

 
Tom G.
Tom G.
User

Reduce size of an image object  en

Autor: Tom G.
Besucht 1620, Followers 1, Geteilt 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.

Gepostet am
8 ANTWORTEN - 3 NüTZLICH - 1 KORREKT
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?

Mehr lesen
Gepostet am von 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

.

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪
Tom G.
Tom G.
User
Autor

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?

Mehr lesen
Gepostet am von Tom G.
Tom G.
Tom G.
User
Autor

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

Mehr lesen
Gepostet am von 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.

Mehr lesen
Gepostet am von 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.

Mehr lesen
Gepostet am von Andre E
Tom G.
Tom G.
User
Autor

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

Mehr lesen
Gepostet am von Tom G.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

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

ciao

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪