Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0012749 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] Z. Others | major | have not tried | 2010-03-19 18:12 | 2012-02-29 17:57 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | normal | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50 | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | User Interface Client Kernel | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0012749: Support display of image in grids etc. | |||||||
Description | Currently the new user interface does not correctly handle the display of images, like the product image. This needs to be solved. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
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 |