Images do not work in body or intro in article

Author Message

Mark O'Donohoe

Thursday 15 April 2004 6:58:50 pm

Hi,
I have tried every solution for this problem that I've found on this site, images will NOT show in the body & intro of any article class, I've tried this on Windows installs and Unix installs. Is there a reason they show up perfectly in admin mode but not in the normal page view...
Currently trying to get this working on windows using ez publish 3

PLEASE SOMEONE PROVIDE A SOLUTION THAT WORKS!!!

Mark O'Donohoe

Thursday 15 April 2004 10:10:32 pm

I ended up finding that I had to also included changes to image.ini.append override.ini.append and have the new template sitting in the correct override/template directory. I can't find any documentation that takes you through this bug in ez, solutions seem to differ depending on the version.

cheers

bob barker

Friday 16 April 2004 10:09:35 am

I think I have the same problem - i am using the online editor which seems to allow me to add imgages to the body of an article - they show up correctly when in admin mode, but are replaced by a text link when viewed as a normal user. How can I make the image display?

Jan Magne Langseth

Thursday 22 April 2004 3:48:22 pm

Hi,
I had the same problem. I finally found the GREAT secret in my installation.
File: /design/corporate/override/templates/article.tpl
this section was tagged as a comment:
{*
<div class="imageright">
{attribute_view_gui attribute=$node.object.data_map.thumbnail image_class=medium}
</div>
*}

I removed the comment tags {* and *} and now images appears in articles.
Hope this will help you.
-Jan Magne-

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 19 2025 03:21:10
Script start
Timing: Jan 19 2025 03:21:10
Module start 'layout'
Timing: Jan 19 2025 03:21:10
Module start 'content'
Timing: Jan 19 2025 03:21:11
Module end 'content'
Timing: Jan 19 2025 03:21:11
Script end

Main resources:

Total runtime0.7634 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 589.2891152.6406
Module start 'layout' 0.00620.0026 741.929739.4922
Module start 'content' 0.00870.7534 781.4219512.2109
Module end 'content' 0.76210.0012 1,293.632812.1250
Script end 0.7633  1,305.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.3802160.0002
Check MTime0.00120.1593160.0001
Mysql Total
Database connection0.00070.097710.0007
Mysqli_queries0.723894.8166620.0117
Looping result0.00050.0644600.0000
Template Total0.735496.320.3677
Template load0.00180.232520.0009
Template processing0.733696.105220.3668
Template load and register function0.00020.029710.0002
states
state_id_array0.00140.184210.0014
state_identifier_array0.00100.131720.0005
Override
Cache load0.00150.1933250.0001
Sytem overhead
Fetch class attribute can translate value0.00050.072030.0002
Fetch class attribute name0.00090.120440.0002
XML
Image XML parsing0.00030.037630.0001
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00150.1959100.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs