Jump to content

External Image Hosting


This topic is 2586 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hey Guys, 

 

I'm new to the forum and also pretty new to Filemaker 13 so please be nice! :)

 

I am using Filemaker to help manage my inventory of a website (ecommerce) but finding it hard to find details on using an external image server (aka image directory of website)

 

So far I can managed to get the images to display from my external server (images.website.com/image1.jpg) using the Web Viewer and also managed to removed the borders and fix the scaling by adding in HTML code into a field called ImageCode


data:text/html,
<html>
<body>
<img src='images.website.com/image1.jpg' style='width:100%; height:100%'/>
</body>
</html>

 

Now I would like to link the field content of Product::Image1 (this is where my url is located) to replace "images.website.com/image1.jpg" link which I manually entered into the ImageCode field. 

 

Can anyone advise the best way to do this? or if there is a guide for designing filemaker db's for use with external image servers.

 

Thanks

 

J

Link to comment
Share on other sites

I think what you want to do is make ImageCode a calc field where the calc is:

"data:text/html,
<html>
<body>
<img src='" & Product::Image1 & "' style='width:100%; height:100%'/>
</body>
</html>"

If Product::Image1 is a full url including "http://" this calc will not work.  That field would need to contain "images.website.com/image1.jpg" without the quotes for it to work.

Link to comment
Share on other sites

Thanks Man. 

 

That has worked! although I did have to amend my Product::Image1 fields to include http:// infront of the images.website.image1.jpg like you said but that was easily done!

 

I'm very much beginning to like FileMaker!

 

Thank you for your help :D

Link to comment
Share on other sites

You can have your calc remove the http:// using any one of the many text functions.  Here are some simple examples:

 

Right ( Product::Image1 ; Count ( Product::Image1 ) - 7  )

That counts the number of characters in the field, then displays all but the first 7.  That wouldn't catch https:// and if it didn't contain a http:// it would remove the first 7 when you dont want it to.

 

Substitute ( Product::Image1 ; "http://" ; "" )

Looks for "http://" and if found replaces it with nothing.

Link to comment
Share on other sites

This topic is 2586 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Similar Content

    • By Vincent Koh
      I have just designed a simple Webviwer calendar (using FM19 add-on). I want to use it on my iPad, desktop and iPhone and making sure that the information keyed in are synced. Can anybody advise what is the best and most economical way to do this? Someone suggested AWS but its only 1 app and for my own use.Using AWS seems to be like an overkill. Hope to hear from someone soon. Thank you all in advance.
    • By 360Works
      Last Chance: Buy a 360Works Plug-in or Add-on,
      Get $100 Credit on FileMaker Hosting!
      Last year we announced our new "Guaranteed Reliability" FileMaker hosting services to better support remote workers during the pandemic. We continue to offer cloud hosting for your FileMaker Server with numerous benefits for reliability, security, and support for our FileMaker products.
      This is the last week to take advantage of the Hosting special for 360Works product purchases of $95 or more! If you purchase a 360Works plug-in or add-on, or renew a license, you will receive a $100 credit on your next Hosting bill.
      (*Special is running for the month of May 2021.)

      Existing Hosting customers are eligible. If you currently host FileMaker with us, and make a purchase this month, simply follow step 3 below to share your information with us. New hosting clients can follow the complete list of steps below:
       
      Purchase a 360Works plug-in or add-on for FileMaker at 360works.com/products or use a product link from the list below
      (*Final order total on plug-in or add-on purchase must come to at least $95 as the final paid price, if other discounts are used the total amount due must still be greater than $95. Renewals are eligible as are orders within the past 3 months.) Sign up for hosting at 360works.com/filemaker-hosting Submit your license or order number for your plug-in/add-on purchase and email to hosting@360works.com letting us know you want your $100 credit!  
      360Works Plug-ins and Add-ons for FileMaker
       
      Product Name Product Description 360Deploy Completely automate the FileMaker Data Migration Tool, simple deployment of new database versions Charts Easy-to-use charting for FileMaker CloudMail Send and track HTML email marketing campaigns Email Send and receive text and HTML emails in FileMaker, PLUS send SMS/Text Messages FTPeek FTP upload and download from your FileMaker database JDBC SQL access with JDBC Compatibility MirrorSync Sync FileMaker Go and Pro on a device without network connection, sync FileMaker Servers, and sync FileMaker with SQL databases Plastic Payment processing plug-in RemoteScripter Trigger scripts on FileMaker Pro from the web or IWP SafetyNet FileMaker Server offsite backup Scribe Read and write PDF, Word, and Excel files. Plus OCR in version 4! ScriptMaster Adds many new functions & create custom plug-ins SuperContainer A better container field Web Assistant Access internet resources, URLs, and fill out web forms Web Services Manager Publish FileMaker scripts as XML Web Services Zulu FileMaker calendar sync - integrate with Google Calendar, Exchange Calendar, and Apple Calendar - plus new support for Apple Reminders app in version 4!  
       
      Claim Your Credit or
      Get Help Here
       
       
    • By Answers
      Our people out in the field take photos which go directly into the container fields, we would like those photos to automatically transfer to the camera roll/gallery. I know there is an export command and that would allow the techs to export and choose the location, save image etc... But that is a tad too complicated for them.
      Any suggestions on how to automate this process, the script for export field contents doesn't have a choice to save to camera roll.
      Thank you!
      Caroline
    • By fabriceN
      It has never been easier to find your way among FileMaker license or to deploy a server in the cloud.
      fmcloud.fm is a unique hosting service, based on a docker/Linux architecture. According to @Nick Lightbody's benchmark on Medium, our architecture is 4 times faster (yes, 400%!) than a standard Windows/VPS service.




      And… we've got a free trial!
      Your databases could literally be in the cloud in 5 minutes from the moment you click this link.
       

    • By 360Works
      Get the Best Benefits When You
      Host FileMaker with 360Works
      A few weeks ago, we announced our new "Guaranteed Reliability" FileMaker hosting services to better support remote workers. We offer cloud hosting for your FileMaker Server with numerous benefits for reliability, security, and support for our FileMaker products.

      Perhaps, one of the best benefits is that MirrorSync, our award-winning and top selling FileMaker synchronization tool, is pre-installed and hosting for MirrorSync is completely free when you host with 360Works! (You will need to purchase your MirrorSync software separately, but keep in mind... MirrorSync ships with one sync configuration of FileMaker Server to FileMaker Pro or Go, plus one device seat, free of charge!)

      MirrorSync is an elegant synchronization product that makes it simple for people working at home or in the field with poor network connection to work on offline copies of your hosted database, whether on iPads, iPhones, or laptops! It can sync between any combination of FileMaker Pro, FileMaker Go, FileMaker Server, SQL database (MySQL, Oracle, SQL Server, or any database that supports JDBC), Salesforce, WordPress, Amazon DynamoDB, and Amazon RedShift.
      Did you hear about all top 10 benefits you receive when hosting FileMaker with 360Works? In case you missed the buzz, here are the top 10 benefits:
      "We moved our last rack-mounted server from our office to AWS about eight years ago.
      Until then, I didn't realize how much time we spent scrounging for space on hard drives, power and network outages, and remote access issues. 
      Now, I don't have to worry about whether we can keep working because of a storm or a construction crew cutting our cable, and working from home is simple no matter where people are located."

      - Jesse Barnum, President of 360Works
      Get Started Now
      New 360Works
      Hosting Page  
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.