Crystal Reports dynamic image using URL formula

14,865

Solution 1

Crystal Report can not access to Images in machine with HTTPS.

Solution 2

maybe a bit late! but this is the answer to why you weren't getting pictures (dynamic ones) to show up on crystal report. The pictures are assembled with the report form (the blank one) on compile time. This means when the program code is changed to .exe file that can be run later whatever picture you had then on that form is what is carried over. No other dynamic pics from urls or from paths. Getting pictures dynamically on crystal report is a hustle. Read on things like

  • @Picture crystal reports formula
  • How to get Pictures dynamically on crystal reports
  • How to add Byte() pictures on Crystal Reports

Some of these methods might help.

I am still searching on solid way to add pics to the crystal reports on run time. So far, nothing short of experimentation here.

Solution 3

That's true: Crystal can't deal with https. Just wanted to add one extra info, which caused some headache to me. Crystal dynamic images from URLs doesn't work if the image is hosted remotely and the machine that is running the report is connected through a Proxy.

Share:
14,865
codeulike
Author by

codeulike

Contractor specialising in charity/not-for-profit sector MCTS, Asp.Net 3.5 Open-source SSRS Front end: CrissCross Twitter: @codeulike

Updated on August 01, 2022

Comments

  • codeulike
    codeulike almost 2 years

    We want to show an image in a Crystal Report 2008 report, and the URL of the image depends on a field in our database, eg:

    "https://images.somewhere.com/" & {Data.Field} & ".jpg"

    This is supposedly possible using a 'picture location' formula on the Picture object (as described here and suggested here), but we can't get it to work - it just shows the default picture every time.

    Is there something we are missing?