TIFF images not showing in frontend

Author Message

Rainer Krauss

Wednesday 29 July 2009 12:57:02 am

Dear all,

I've to import images to my sites' content, which are in the format TIFF.

I can upload / add them to articles in the backend, but they won't show in the frontend.

I've already checked my image ini, which says
ConversionRules[]=*;image/jpeg
and
MIMETagMap[]=image/tiff;TIFF
as well as with other forum posts, to no avail.

The system I'm running is eZ 4.1.0 with GD 2.

Your help would be much appreciated.

Best wishes,
Rainer

Rainer Krauss

Wednesday 29 July 2009 7:56:50 am

..found an easy solution to this issue:

Before I enter the TIFF to eZ, my PHP script makes an exec on the command line to GD to convert TIFF into JPEG.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 21:47:24
Script start
Timing: Jan 30 2025 21:47:24
Module start 'layout'
Timing: Jan 30 2025 21:47:24
Module start 'content'
Timing: Jan 30 2025 21:47:24
Module end 'content'
Timing: Jan 30 2025 21:47:24
Script end

Main resources:

Total runtime0.0394 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.1563151.2109
Module start 'layout' 0.00610.0063 739.3672220.6875
Module start 'content' 0.01240.0251 960.0547997.6953
Module end 'content' 0.03750.0018 1,957.750029.9922
Script end 0.0393  1,987.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00317.9360140.0002
Check MTime0.00112.8582140.0001
Mysql Total
Database connection0.00092.233610.0009
Mysqli_queries0.00307.749430.0010
Looping result0.00000.038210.0000
Template Total0.00133.310.0013
Template load0.00102.543810.0010
Template processing0.00030.714210.0003
Override
Cache load0.00061.557510.0006
General
dbfile0.00040.948780.0000
String conversion0.00000.025440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs