Forums / Setup & design / Title image not appearing and other newby questions..

Title image not appearing and other newby questions..

Author Message

Tom Howe

Wednesday 05 September 2007 6:06:13 am

Hi, I am starting to create my first site using ezpublish. I have an immediate issue with getting the title image to appear.

Without uploading an image it shows the title of my website as a link at the top of the page.
After uploading an image in the Design->Look and Feel->Template look area and refreshing the homepage the title text goes away but no image appears. I have tried a jpeg and a gif and have tried clearing all the caches. Any idea what I need to do to get the image to appear?

I have 2 other questions as well.
1) when I add images to articles or folder pages, they do not immediately appear - I get a "you do not have permissions to view this image". To get the images to appear I have to change the section of the image to "standard". What is this for? Can I get all images to be set to standard automatically so I dont have to change each one?

2) I want the menu of my site to be on the right hand side - is there an easy way of doing this or do I have to modify the pagelayout template. Is there a good tutorial on this?

Thanks, Tom

Kristof Coomans

Thursday 06 September 2007 2:23:34 am

Hi Tom, welcome to the eZ Community.

unnumbered question) Is there an img tag in the generated html source or not?
1) Please read http://ez.no/community/forum/general/dont_have_engought_right_to_see
2) If you are using the eZ publish Website Interface then this is not possible as far as I know. Please check the Website Interface docs on this point: http://ez.no/doc/extensions/website_interface. It is possible with the old plain site package however.

Good luck!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Piotr S.

Wednesday 12 September 2007 3:24:07 am

Hi,

I have same problem as Tom in unnumbered question.
I have just installed eZP version 3.9.2php5 and when I upload Company Logo ( jpg, png ) it doesn't apear, there is just "red cross" in html source code I found:
<a href="/eZ/index.php/plain_site"><img src="/eZ/" alt="" /></a>
..
what could be the problem ?

While instaling in "Finetune" I had
"1. Missing text creation functions
The PHP functions ImageTTFText and ImageTTFBBox is missing"

and I've ignore it ? Could it be the reason ?

Thanks in advice.

Peter

Piotr S.

Wednesday 12 September 2007 4:08:05 am

I have also found in my var/log/error.log:

[ Sep 12 2007 12:58:10 ] [10.30.1.74] eZImageManager::createImageAlias:
Failed converting var/plain_site/storage/images/design/cube_cr_cms/172-7-eng-US/cube_cr_cms.jpg to alias original in directory var/plain_site/storage/images/design/cube_cr_cms/172-7-eng-US

pls help me to solve this

thnx

Piotr S.

Wednesday 12 September 2007 7:09:41 am

After disabling ImageMagick in image.ini
IsEnabled=false
Images start to be visible in plain_site_admin

but they are still invicible in user sites (plain_site)

Steve Whitehouse

Wednesday 12 September 2007 12:39:31 pm

I am having the exact same issue.

I have ez installed locally on a laptop (while i try and learn this badboy.)

As far as I can tell the source code shows as:

<div id="header design">
< a href="/plain_site"><img src"/" alt="/"></a>
</div>

If thats the right peice of mark up.

So it seems like its not taking the upload from the look and feel section. (In my noob opinion)

Please help... almost smashed laptop to bits in frustration :)

Thankfully I started figuring out how to make the menu's and folders and such, or I would have jumped from my office window by now.

Olivier Ouin

Thursday 13 September 2007 9:13:40 am

The fact that PHP functions ImageTTFText and ImageTTFBBox are unavailable will block the usage of "texttoimage" template operator. It should not break the rest of the image system.

It seems that ImageMagick is missing in your installation, or not accessible by EZP.

If ImageMagick is well installed, check your /settings/override/image.ini.append.php (it's far better than in /settings/image.ini, you should never directly alter /settings/ ini files, rather override them) and put this in it :
[ImageMagick]
IsEnabled=true
ExecutablePath="c:/path/to/imagemagick"
Executable=convert.exe

Beware : ImageMagick installation path should not contains any blank !

If you don't want to use ImageMagick, then cut it off in /settings/override/image.ini.append.php :
[ImageMagick]
IsEnabled=false

GD2 should be used instead of it.
If you're image is still broken, check that your have GD2 php extension.

If you are under linux, your should also check that your graphics libs (GD2 or ImageMagick) is compiled with JPEG and PNG support (if not, you will certainly have to get libjpeg and libpng packages)

Piotr S.

Sunday 16 September 2007 4:57:21 am

unfortunately eZ still doesn't work for me.
I have reinstalled ImageMagick for the newest version, recompiled php to use MagicWand,
( of course with jpeg, png and GD support )
I have reinstall eZ on my Linux, and images still won't show up.

When I disable ImageMgick in : /settings/override/image.ini.append.php they start to show in my "plaint_site_admin" but in user site "pain_site" the just don't show up.

I will probably use another CMS system, this one seems to be half-baked.

thanks for help anyway.

Piotr S.

Sunday 16 September 2007 11:16:41 am

:)

I've tried one more thing.
I have reinstalled eZ using prepared sample site ( Grenland in Telemark )
with this sems that my problem does not exists any more.

So I try to customize Grenland :)

Regards