Borders on DBImages

edited January 2007 in End User
In my sample database I have images of different sizes. I create a dbimage
component with the desired width and height, set Stretch to True and
Maintain Aspect Ratio to True. This provides me with images that are all of
the same width but with varying heights (which is good).

Adding borders is highly desirable but not an option as this will put a
border around the image component rather than the generated image. If I
switch 'Maintain Aspect Ratio off, I can get the borders to display
correctly. However, maintaining the aspect ratio is critical.

It seems that you must set 'Autosize' to true in order for borders to frame
dbImages of different sizes correctly. However, for most users, the
original image size is too large for many reports.

The alternative is to crop all database images so that they have the same
dimensions. Clearly, this is not a solution either.

In other words, it seems that one should not use borders around a dbImage
component in a report that is intended for general use.

Have I understood correctly or, is there some other way that this can be
resolved?

Comments

  • edited January 2007
    Hi Deirdre,

    Which version of ReportBuilder are you using? I believe for RB 10.04, we
    changed how the image borders work so they appear around the actual image
    rather than the component boundaries. I would suggest upgrading to RB 10.04
    and see if that solves the problem.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2007
    Hi Deirdre,

    I apoligize, there is a patch available for RB 10.04 that changes how the
    border interact with images. If you would like this patch, please send a
    small request to support@digital-metaphors.com.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2007
    Nico Cizik (Digital Metaphors) wrote:


    Thanks Nico, will do. (Sorry about posting twice - would you delete the
    next post)?

    --
This discussion has been closed.