Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
How to Load an Image
You can add your own images to an application to display company logos, icons, backgrounds and more. To do this:
Tip |
---|
If you want to use your image in other application consider adding it to a Package. |
How to Use an Image
- background-repeat, no-repeat
- background-position, center
- background-size, 100% 100%
Setting Palette Item Icons
To use an image as an icon to represent the component in a palette:
For information about how to use an image stored on the PhixFlow server, see Using a URL to Display an Image.
Setting the Size of an ImageThe size is set using CSS syntax. To learn more see Background-Size Settings.
Example Configurations
Typically, an image is set as the background of an area, and is set to cover it. The area is then used to set the size of the image.
Here are some possible locations for images, and suggestions for which options to use to control the image size.
Image Use
background-size
Details
Area Background
contain
The image fills the area background while maintaining the aspect ratio.
Grid Buttons and Icons
specify size e.g. 30px 30px
As grids are fixed widths and heights, you can use a fixed width and height to ensure the image displays correctly.
In addition remember to apply the following Style properties:
- background-repeat no-repeat
- background-position center
Buttons
specify size
Buttons usually have a fixed height. To ensure the button has the correct proportions, use a fixed width and height.
Mouse-over buttons
specify size
As above.
For a mouse-over button remember to set the additional CSS Properties:
- state Mouse Over
Application Icon and Logo
To change the image used on the application selection tile and/or the company logo displayed in the top left, see Editing Application Properties.
Image Properties
Basic Settings
Enter a name for the image.
Click the Browse button to open a file explorer window where you can navigate to the image you want to upload.
PhixFlow displays a thumbnail of the uploaded image.
Adding Icons
Iframe | ||||||
---|---|---|---|---|---|---|
|
Adding Interactive Icons
Iframe | ||||||
---|---|---|---|---|---|---|
|