Forums / Setup & design / Problems with images

Problems with images

Author Message

john limback

Monday 06 June 2005 4:03:44 am

I'm just setting up an ezpublish site for the first time. I'm just following the TSCM tutorial and I've modified pagetemplate.tpl and created a new css sheet using the code in the tutorial and none of the images display. I've been through all the stages on the relevant page in the troubleshooting section, ie checking permissions, safe mode/ope_basedir status etc and all seems ok, yet still no pics. Can anyone help

Thanks
John

Ɓukasz Serwatka

Tuesday 07 June 2005 4:56:11 am

Make sure that all images are in design/tscm/images. Try also clear the cache.

<img src={"image.png"|ezimage} />

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

john limback

Tuesday 07 June 2005 7:43:50 am

Thanks,
I've double checked that all images are in the right directory and I've cleared the cache but still no joy. I had used the full relative paths to images within the html, so I've changed to use the code you suggested and still no images. Surely if you use the full path to an image it should display as the server should just follow the path declared within img src tags.

John

Jed James

Tuesday 07 June 2005 8:39:36 am

Not sure whether this is the right place for this, but I am also having trouble getting images to display. I modified one of the classes ("Folders") so that it would handle images. Another class ("articles") is set up to do this and does it fine. The "add image" place does show up when I go to edit the folder, the preview shows the image after I publish it, and the image shows up under the right folder in the var section of the files, but it does not display on the public site. Does anyone know what possible reasons there might be for this? (We seemed to be having a similar issue, John, so I hope it was alright for me to ask about it here.)

Jim

PS I cleared the caches.

john limback

Tuesday 07 June 2005 10:53:34 am

It looks like our problems may be similar, but I've now created a welcome article with an image included. When I call the relavent page in a browser, I still just get a blank screen so i suspect our problems are caused by different issues. As for posting here, fill your boots Jim

Jed James

Tuesday 07 June 2005 1:31:21 pm

John --

At least on the surface our problems do seem similar. Whether you are right about their having different causes, I have no idea. I am hoping that someone who knows more than I do will answer this.

Jim

eZ debug

Timing: Jan 19 2025 03:33:29
Script start
Timing: Jan 19 2025 03:33:29
Module start 'content'
Timing: Jan 19 2025 03:33:30
Module end 'content'
Timing: Jan 19 2025 03:33:30
Script end

Main resources:

Total runtime0.9720 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.9453180.8438
Module start 'content' 0.00600.8379 769.7891607.3438
Module end 'content' 0.84390.1281 1,377.1328337.0703
Script end 0.9720  1,714.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3959210.0002
Check MTime0.00150.1492210.0001
Mysql Total
Database connection0.00080.086510.0008
Mysqli_queries0.897092.27742050.0044
Looping result0.00250.25662030.0000
Template Total0.944897.220.4724
Template load0.00190.199620.0010
Template processing0.942997.000620.4714
Template load and register function0.00020.018310.0002
states
state_id_array0.00090.092210.0009
state_identifier_array0.00090.091320.0004
Override
Cache load0.00150.1591240.0001
Sytem overhead
Fetch class attribute can translate value0.00150.153040.0004
Fetch class attribute name0.00140.145370.0002
XML
Image XML parsing0.00120.121540.0003
class_abstraction
Instantiating content class attribute0.00000.001870.0000
General
dbfile0.00350.3560290.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs