View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007444 | mantisbt | feature | public | 2006-09-15 17:31 | 2007-11-23 18:29 |
Reporter | atomoid | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 1.1.0a1 | ||||
Summary | 0007444: inlined resized image display doesnt work in IE; and doesnt download in Firefox | ||||
Description | Mantis 1.1.0a1: The new feature spawned from report 0006252: Control over display size of inlined images (might actually be two bugs): I enabled it in my config_inc.php: Results differ per browser tested: Firefox:
Note that images that are smaller than the min wdith (and dont get resized) behave normally (for 1.1), they bring up the download prompt when clicked. IE:
| ||||
Tags | No tags attached. | ||||
I guess for the best desired behavior, you'd want to click the image so you can view full size, but i think it should it load inline in the current view (in effect, temporarily toggling the max_width and max_height setings), rather than bringing up a blank page. Its important to be able to read the description while viewing the attachemnt. If for some reason that wont work, perhaps it would be best to display some sort of distinct 'download attachment' link handy next to the file attachement to get around this problem. By the way, im using Windows: |
|
The behaviour here is also related to the following configuration option:
This tells Mantis that for these extensions you don't want to download the attachment but just view it. Once you view it, you can right click and save. However, it may be a good idea to also have a Download link. I am open for suggestions here. I would be happy to apply patches submitted to improve the handling of image attachments. |
|
Victor, IMHO the comment there should be improved, since it's not clear the previewed attachment will not be downloadable (if not using the right-click "trick) Does image manipulations exists in php? we could use something like: if ( image_height > preview_max_height || image_width > preview_max_width ) |
|
To create thumbnails we probably need the PHP GD extension library to be installed. What we can do is to detect when such extension is available and make use of it. |
|