Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: IMAGE Relative path  (Read 5569 times)

pcuevas

  • Newbie
  • *
  • Posts: 12
    • View Profile
IMAGE Relative path
« on: April 24, 2017, 08:09:38 pm »
Is possible to define a relative path including file name, because I am generating my own bar code and it´s different for each report.

Thanks in advance.
Pablo

pcuevas

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: IMAGE Relative path
« Reply #1 on: April 24, 2017, 08:14:03 pm »
I ask that, because my image are not inside of a database. They are a files in my disk

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: IMAGE Relative path
« Reply #2 on: April 25, 2017, 10:48:36 am »
The image is integrated into the report and don't use path to the image file.

pcuevas

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: IMAGE Relative path
« Reply #3 on: April 25, 2017, 08:37:34 pm »
Ok thanks,

That means that if I want to put different images in each report these images must be in a table of a database.

pcuevas

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: IMAGE Relative path
« Reply #4 on: April 25, 2017, 09:00:14 pm »
Arin,

Is possible to use the script to load the image from disk before to execute the report?

I don´t know how to write script, I´m using Qt creator c++, is similar the syntax?

I´m back with this, because I don´t want to store the images in database, they are only temporal images.

thanks

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: IMAGE Relative path
« Reply #5 on: April 26, 2017, 09:50:02 am »
You can create model or callback datasource and transfer images through it.

cwl

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: IMAGE Relative path
« Reply #6 on: October 31, 2018, 08:31:04 am »
Hi, Alex, could you give a example for this, it could not be better if you take a video on YouTuBe to show the process,

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: IMAGE Relative path
« Reply #7 on: November 06, 2018, 10:45:50 pm »
cwl
Hi
Here is an example :)
https://youtu.be/IekDWzh251c

cwl

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: IMAGE Relative path
« Reply #8 on: November 13, 2018, 05:04:07 am »
Thank u very much!!!