Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi, according to your introduction I made a container and within I defined it as a picture container in which I loaded a jpeg picture. How can I make this scalable? The container is set with a max width of 800 px and no minimal width, the size (of the container? the picture?) is set "92%, auto". When I scale the page down the picture won't scale (of course)- but how can I make it scale? |
||||
|
You can also make the image itself scaleable: For example set its size to something like "50%, auto", then it will be always half the size of it's parent container or the page. |
||||
|
Yes, this is something I have been thinking of- but I can't find it in the properties settings in Rocket Cake. No matter where I click inside this container it will always be the same. There seems to be no way to differenciate between container and picture itself. Or do you mean the picture itself before I use it in the container? But I don't know of any possibilities to attribute settings like this to a jpeg-, png- etc. picture. |
||||
|
The container is an element and the image is also an element. Unless you've set the image to be the background of the container maybe? |
||||
|
What I did is exactly this: (from your introduction) Next, we want an image directly below the menu. We could use the Image element for this, but because we want add some text on top of the image later, we use a Container instead and simply use its background-image property. So: Select the Container element in the toolset on the right, and click into the page somewhere below the menu you created. Drag the white square of its lower border a bit down to make it bigger. Then, in the property window on the left, find the "BackgroundMode" entry, and set it to "Image". A new entry "BackgroundImage" will appear, in which you can select some image file from your disk. As you did with the menu, search for "MaxWidth" entry, and change it "800". Also, click the 'Center Text' button while the contaienr is selected. I don't know what to change or how to proceed to make the image (JPEG) scalable. |
||||
|
If it is set as background, then it already adjusts itself to the size of the container. Be sure you have the background mode set to "Cover". |
||||
|
|