Project-Id-Version: Trac 0.12
Report-Msgid-Bugs-To: trac-dev@googlegroups.com
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Language-Team: en_US <trac-dev@googlegroups.com>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #144 (closed bug: worksforme)

Opened 8 years ago

Last modified 7 years ago

Some Photos Not Showing On IE8

Reported by: dgBoldt Owned by: sebastian
Priority: minor Milestone: 2.4
Component: unspecified Version: 2.0
Keywords: IE8, Photos, photo, display Cc: dave.gruentzel@boldt.com

Description

In IE8, on our server, on our intranet, with the fully qualified domain, some photos do not show up. Works on Firefox and other web browsers besides IE8 or IE7.

I could not find a correlation of the ones that are showing up and the ones that are not. Checked the following with the photos:

  • file names
  • special characters
  • files size
  • dimensions
  • folder names

Also check out the settings within IE8

  • When through all the
    • security options
    • privacy settings
    • advance settings
    • encoding settings
  • Added site to trusted sites
  • Rest all settings back to default

Here is a link to our test gallery on the externally hosted server:
http://phtagr.boldtblogs.com/app/webroot/index.php/explorer

Attachments

ScreenShot_NoPhotos.jpg (213.1 KB) - added by dgBoldt 8 years ago.
Screen shot of the problem with some photos not showing.
truecolor.thumbs.patch (649 bytes) - added by sebastian 8 years ago.
Patch to enforce generation of RGB thumbnails
Screen shot 2011-09-12 at 4.22.52 PM.png (16.2 KB) - added by dgBoldt 8 years ago.
Patch

Change History

Changed 8 years ago by dgBoldt

Screen shot of the problem with some photos not showing.

comment:1 Changed 8 years ago by dgBoldt

I found a correlation of the photos that are not showing. The JPG's that aren't showing in IE8 are in CMYK, not RGB. So, it's an IE8 and IE7 issue not the gallery.

comment:2 Changed 8 years ago by sebastian

  • Owner set to sebastian
  • Status changed from new to assigned

I'm sorry for this late reply but I'm currently bussy and I could not help as fast as I whish.

This issue is very interessting!

I added some line to the thumbnail module (phpThumb) to force the colorspace to be RGB. You can apply the patch with

patch -p1 < truecolor.thumbs.patch

in the app directory (where app_controller.php file is located) or you add folloging lines to vendors/phpthumb/phpthumb.class.php, line 1319 above line 'if (!is_null($this->dpi) && $this->ImageMagickSwitchAvailable?('density')) {':

Set output format to true color
if ($this->ImageMagickSwitchAvailable?('colorspace')) {

$commandLine .= ' -colorspace RGB';

}
if ($this->ImageMagickSwitchAvailable?('type')) {

$commandLine .= ' -type TrueColor?';

}

I couldn't test if this patch will help to solve the IE8 CMYK problem but in theory it should :-) If it does I will commit this line to public so please report your experience.

To enforce the recalculation of all the previews you should delete all preview files in app/users/*/cache directory.

Xemle

Changed 8 years ago by sebastian

Patch to enforce generation of RGB thumbnails

comment:3 Changed 8 years ago by dgBoldt

Thanks for the reply and patch suggestion. Sadly it did not work...
Added the patch and cleared all the preview cache.

Changed 8 years ago by dgBoldt

Patch

comment:4 Changed 7 years ago by sebastian

  • Status changed from assigned to closed
  • Resolution set to worksforme

Closed due inactivity

Note: See TracTickets for help on using tickets.