A picture speaks thousand words. True, often an image of an girl speaks more than her resumes..:) (just stole the thoughts from an HR. I am not part of any anti-women community., in fact I am one from the opposite community..:)  ) .Images are one of the key features of any ERP System. Specially in a feature rich application like Openbravo, images would add more beauty to the window..:) Openbravo provides a table called ad_image that saved image in the form of binary data or in the form of URL. Now in general when you want the reference data from some other table in Openbravo, we use the tabledir to provide direct table mapping or table reference to reference data.But in the case of ad_image table if you reference it as tabledir, it just comes as a dropdown as attached below.

    But that does not show the true power of the image table. To display an image in the grid view and pen view, the "reference" type of the respective column should be set as "Image BLOB". Then the image will be displayed as shown in the screen-shot below. Whatever the features an application has, User Interface is the main factor that decides the success of it, and i guess subtle things like this will enhance the look and feel of the application a little more..:)

                            
                             
                              Attached below is the screen shot of the column where image is mapped. Size of the image can be anything..:) since it stores binary data, i gave such high values...
                             
                         


0

Add a comment

Popular Posts
Popular Posts
Blog Archive
Labels
Total Pageviews
Total Pageviews
148867
Subscribe
Subscribe
Labels
Loading
Dynamic Views theme. Powered by Blogger. Report Abuse.