PUBLIC - Liferay Portal Community Edition

Unable to view .tif files in Image Gallery in Firefox and Chrome

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 6.1.0 CE GA1, 6.2.X
  • Fix Version/s: 6.1.10 EE GA1, 6.1.1 CE GA2, 6.2.X
  • Labels:
  • Environment:
  • Branch Version/s:
    6.1.x
  • Backported to Branch:
    Committed
  • Similar Issues:
    Show 4 results 
  • Business Value:
    4

Description

After uploading a .tif file, there is no thumbnail image on the Images Home. File is successfully uploaded, but when the user clicks on the [Image], no image is displayed.

1. Add [Image Gallery Test Page]
2. Add [Documents and Media] portlet
3. Upload image with .tif extension
4. Click on the Image
-no image displays, window is in continuous loading stage.

Tested both a large .tif file and a small .tif file attached. Screenshot of uploaded images also attached.

  1. d large.tif
    27/May/11 3:54 PM
    13.44 MB
    Christine Huang
  2. d small.tif
    27/May/11 3:54 PM
    2.43 MB
    Christine Huang
  1. IE9-cannot load gif.gif
    317 kB
    12/Feb/12 7:56 PM
  2. IE9 GIF.jpg
    248 kB
    13/Feb/12 2:28 PM
  3. IE9 PDF.jpg
    221 kB
    13/Feb/12 2:28 PM
  4. IE9 Working.jpg
    176 kB
    11/Feb/12 5:06 AM
  5. multipagepdf-nopreview.JPG
    68 kB
    12/Feb/12 7:56 PM
  6. tif file.JPG
    40 kB
    27/May/11 3:54 PM

Issue Links

Activity

Hide
Koor Gai added a comment - - edited

Reproduced on:
Tomcat 6.0.32 + MySQL 5. 6.0.x. Revision: 84035.

Show
Koor Gai added a comment - - edited Reproduced on: Tomcat 6.0.32 + MySQL 5. 6.0.x. Revision: 84035.
Hide
Justin Choi added a comment - - edited

Reproduced on:
Tomcat 7.0.21 + MySQL 5. 6.1.x Revision: 89116.

Show
Justin Choi added a comment - - edited Reproduced on: Tomcat 7.0.21 + MySQL 5. 6.1.x Revision: 89116.
Hide
Serena Song added a comment -

Reproduce on:
Tomcat 7.0.25 + MySQL 5. 6.1.x GIT ID: b4e64d95c2af7958db20a9eada5185de6c4adf5f
Tomcat 7.0.25 + MySQL 5. 6.2.x GIT ID: 4e9106155aaf6443337f888e82b83b9fe235d55b

Show
Serena Song added a comment - Reproduce on: Tomcat 7.0.25 + MySQL 5. 6.1.x GIT ID: b4e64d95c2af7958db20a9eada5185de6c4adf5f Tomcat 7.0.25 + MySQL 5. 6.2.x GIT ID: 4e9106155aaf6443337f888e82b83b9fe235d55b
Hide
Alexander Chow added a comment -

What browser are you running? It works for me in Safari but not Chrome or FF.

Show
Alexander Chow added a comment - What browser are you running? It works for me in Safari but not Chrome or FF.
Hide
Christine Huang added a comment -

Hey Alex,

It doesn't display in Chrome, FF 3.6 and FF 10. I found that it works on IE 9 though. I've updated the environment.

Show
Christine Huang added a comment - Hey Alex, It doesn't display in Chrome, FF 3.6 and FF 10. I found that it works on IE 9 though. I've updated the environment.
Hide
Michael Saechang added a comment -

Committed on:
6.1.x GIT ID: ca8639fd41715439f0fc47beca5b26f5fc8bfeb3.
6.2.x GIT ID: 02ec9ed2d70a1735621e235ec36229bff2088577.

Show
Michael Saechang added a comment - Committed on: 6.1.x GIT ID: ca8639fd41715439f0fc47beca5b26f5fc8bfeb3. 6.2.x GIT ID: 02ec9ed2d70a1735621e235ec36229bff2088577.
Hide
Lawrence Lee added a comment -

FAILED Manual Testing using the steps in the description and Alex' comments:

Failed on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 7ca618e28e1b85ffe92bf401a3e18f9c068dabe3.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 1dd1dc2fcb969bb8e1b41340a7cf582d1ad81aa6.

Multiple-page PDF doesn't show preview (all browsers)[see attachment]
IE 9 cannot load GIFs

Show
Lawrence Lee added a comment - FAILED Manual Testing using the steps in the description and Alex' comments: Failed on: Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 7ca618e28e1b85ffe92bf401a3e18f9c068dabe3. Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 1dd1dc2fcb969bb8e1b41340a7cf582d1ad81aa6. Multiple-page PDF doesn't show preview (all browsers)[see attachment] IE 9 cannot load GIFs
Hide
Alexander Chow added a comment -

Hi Lawrence,

I'm not entirely sure what you are saying is problem. You mention a screenshot but you didn't upload any. I'm also not sure if you are saying there is a problem with GIF or with PDF or both.

As you can see in my attached screenshot, it works on IE9 with TIF, GIF, JPG, PNG and a multi-page PDF. Can you verify this? I'm using GIT 6.2.x 3b88ca7c3827e762391ed1ab6789a2a4c9b3be1f.

Alex

Show
Alexander Chow added a comment - Hi Lawrence, I'm not entirely sure what you are saying is problem. You mention a screenshot but you didn't upload any. I'm also not sure if you are saying there is a problem with GIF or with PDF or both. As you can see in my attached screenshot, it works on IE9 with TIF, GIF, JPG, PNG and a multi-page PDF. Can you verify this? I'm using GIT 6.2.x 3b88ca7c3827e762391ed1ab6789a2a4c9b3be1f. Alex
Hide
Lawrence Lee added a comment -

Hey Alex,

Sorry about that. Here are the screens. They are two different issues.

1) IE 9: Theres no preview when i click on the GIF it just shows a red 'x'

2) All browsers: Previews are blank i click on the Multi-page PDFs.

I hope this clarifies the issues.

Show
Lawrence Lee added a comment - Hey Alex, Sorry about that. Here are the screens. They are two different issues. 1) IE 9: Theres no preview when i click on the GIF it just shows a red 'x' 2) All browsers: Previews are blank i click on the Multi-page PDFs. I hope this clarifies the issues.
Hide
Alexander Chow added a comment -

Hi Lawrence,

So, as attached ("IE9 GIF" and "IE9 PDF"), both work for me. I suspect the problems you are having have nothing to do with this ticket and if you revert your codebase to before the code was applied, both those problems would persist. It may be something to do with the files you are using or your configuration. For the PDF problem, try using ImageMagick if you are using PDFBox or vice versa. If you can, verify this and if this is the case, please open separate tickets for these issues.

Thanks,
Alex

Show
Alexander Chow added a comment - Hi Lawrence, So, as attached ("IE9 GIF" and "IE9 PDF"), both work for me. I suspect the problems you are having have nothing to do with this ticket and if you revert your codebase to before the code was applied, both those problems would persist. It may be something to do with the files you are using or your configuration. For the PDF problem, try using ImageMagick if you are using PDFBox or vice versa. If you can, verify this and if this is the case, please open separate tickets for these issues. Thanks, Alex
Hide
Lawrence Lee added a comment -

PASSED Manual Testing following the steps in the description.

Fixed on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 7ca618e28e1b85ffe92bf401a3e18f9c068dabe3.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 1dd1dc2fcb969bb8e1b41340a7cf582d1ad81aa6.

Show
Lawrence Lee added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 7ca618e28e1b85ffe92bf401a3e18f9c068dabe3. Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 1dd1dc2fcb969bb8e1b41340a7cf582d1ad81aa6.

People

Vote (1)
Watch (5)

Dates

  • Created:
    Updated:
    Resolved: