Jump to content
  • 0

Adding a logo / image on DataPages


astroboy

Question

9 answers to this question

Recommended Posts

  • 0

Hi Astroboy,

There's actually a way to add logos/images in your DataPages that are directly uploaded to Caspio. Here are the steps to do this:

1. Add a new App Parameter inside your application. This can be found on your App Overview > App Parameters > Manage
2. Under App Parameters, click on new then set a parameter name and change the data type from 'Text' to 'File'. Upload an image by clicking the add file button under 'Value' and click on save.
3. Go to your DataPage configuration and add a Header & Footer or HTML Block. Make sure to disable the HTML editor under the Advanced tab.
4. Lastly, add this HTML code and insert the app parameter between the two double quotation marks using the picker.

<img src="[*Add your app parameter here*]">

Link to comment
Share on other sites

  • 0

Hi! Just sharing this tip. You can also use Font icons such as Font Awesome for labels.

To apply in the DataPage, follow these steps:
1. Insert Header and Footer. In the Header, insert the installation CDN

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/js/all.min.js"></script>

2. Search your icon here: https://fontawesome.com/v5/search?o=r&m=free&s=solid
3. Copy code snippets such as <i class="fas fa-users"></i>
4. Paste the code in Labels or any HTML code where you like to add an icon.

Sample Result:

Icon.jpg?ver=1

References:
- https://fontawesome.com/
- https://cdnjs.com/libraries/font-awesome

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...