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