Jump to content
  • 0

Filestor URL for Image


jimarch

Question

I have read in the forum that you can use Filestor to save images that can then be used to replace the standard form buttons with an image button.  But I haven't been able to find what the URL is supposed to be to pull that image into the Style.  I appreciate any help anyone can provide.

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Hi @jimarch,

You could use the FileStor image in Caspio by the following steps:

1. Go to your All Assets -> Files. Create a folder for your image and enable the FileStor on it.

image.png.f69d6fb6ef93e331f81e9a0729c4691e.png

2. After enabling it, it should be look like this:
image.png.6fd2294db504a7f8eadac5ce1bd3b6b3.png

3. After enabling the FileStor to your folder, create a table that will contain the image you want. 

image.thumb.png.45d6bfc5433e5d23d7454e80c10ca45c.png

4. Now that you have a table, create a Tabular Report DataPage that will view the picture you want.

5.  On  Configure Results Page Fields, select your field for your Image and display it as a File and check the Hyperlink for the download

image.png.bb8326f86b9a7d5827919636d452d4cf.png

6. For Preview, hover the link or open the link in the new tab to get the link of your image: 
 

image.thumb.png.152d8bde677552f374f73421a772f8ff.png

 

I hope this helps!

Link to comment
Share on other sites

  • 0

Hi @roattw,

Perhaps, you may want to use the steps from the FileStor CDN article instead:

You can get a link to the file stored in FileStor CDN with the following URL adjusted to your data:

https://[Caspio site]cdn.caspio.com/[first 8 AppKey characters]/[foldername]/[filename].[extension]

Example: https://eucdn.caspio.com/03NJB000/Folder name/Image01.png

  • [Caspio site] – the Caspio site of your account. Example: eu
  • [first 8 AppKey characters] - this part is the same for all your files. You can check it in the Properties of any DataPage > Caspio AppKey. Capitalize all lowercase letters if present. Example: 03NJB000 
  • [Folder Name] – folder name of the file. Replace any spaces with %20. Example: Folder%20name
  • [filename].[extension] - file name and extension; they can be copied directly from a file. Example: Image01.png

Note: [Caspio site] name is needed only for sites located outside of US. You may check your site country in Help menu -> About Caspio tab.

For the US the following format can be used:
https://cdn.caspio.com/[first 8 AppKey characters]/[foldername]/[filename].[extension]

Link to comment
Share on other sites

  • 0

A lot of people have trouble with this.  I followed the directions but couldnt get image to pull up.  Support ticket verified I had the info and URL correct.  They suggest using Meekee's workaround to verify the URL you are using.

Also, note that for images I upload, Caspio adds versioning to it adding a "ver=1" to the image URL.  So the instructions version didnt work:

According to the instructions my URL would be https://cdn.caspio.com/XXXXXXXX/Images/myimage.png

But real URL was:

https://cdn.caspio.com/XXXXXXXX/Images/myimage.png=ver1

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...