Reduce size of an image object
Автор: Tom G.
Просмотрено 1926,
Подписчики 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.
Размещено
Maybe I am too sinple, but why not use a picture edittor (irfanview) and change the size of the picture?
(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
.
Автор
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?
Автор
KolAsim, thank you for your response, but I only can use English or Polish...
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.
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.
Автор
KolAsim, Andre - both methods work fine!
Thanks a lot!
... Tom, ... sorry, I was wrong idiom, ... and thanks a lot to Andre.
ciao