Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012749
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] Z. Othersmajorhave not tried2010-03-19 18:122012-02-29 17:57
ReportermtaalView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50SCM revision 
Review Assigned To
Web browser
ModulesUser Interface Client Kernel
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012749: Support display of image in grids etc.

DescriptionCurrently the new user interface does not correctly handle the display of images, like the product image. This needs to be solved.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of feature request 0019926 newAugustoMauch "Image" type field should be shown in grid 

-  Notes
(0025646)
mtaal (manager)
2010-03-22 12:59

Basically, the images are stored in a BLOB column. The servlet ImageInfoBLOB corresponds to the window through which the user can upload images, and you can find the code which is used to create the images there. Basically, the image is read as an array of bytes, and it's stored directly in the BLOB column using the DAL provided method (if you want to see this servlet working, you can customize the system logos in the System Information window, for example).

To read and display the images, the ShowImage servlet is used. This second servlet was written by Asier, and I don't know all the details, but just looking at the code, it seems pretty straightforward (the image is read from the database, again as an array of bytes, the MIME type is found using an utility class, and then the bytes are printed to the output directly).

AFAICS, it appears that no resizing is done. If you need additional information, tell me. Regards,

- Issue History
Date Modified Username Field Change
2010-03-19 18:12 mtaal New Issue
2010-03-19 18:12 mtaal Assigned To => mtaal
2010-03-22 12:59 mtaal Note Added: 0025646
2010-03-29 17:25 mtaal Type defect => feature request
2012-02-09 15:33 mtaal Assigned To mtaal => marvintm
2012-02-29 17:57 dbaz Relationship added duplicate of 0019926
2012-02-29 17:57 dbaz Status new => closed
2012-02-29 17:57 dbaz Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker