Beginners problem

Begynderen!!!

No avatar

2005-11-09 21:54

Hi, I'm as green as you can get in this PHP-thing! And I have a problem: I have tried to upload a header/logo via admin, but I can't see it. It is a .jpg file, size 125 x 750 pixels. What could I have done wrong?

gillweb

No avatar

2005-11-10 06:16

Make sure your "files/img" folder has write permissions

gillweb@gmail.com

Begynderen!!!

No avatar

2005-11-10 10:39

Hi, If you are thinking of CHMOD everything has been changed to 777 - but still nothing?

brainfreeze

No avatar

2005-11-10 11:36

what's your url?

to do or not to do

Floyds

No avatar

2005-11-10 16:18

or you can try to set it to 755

Begynderen!!!

No avatar

2005-11-10 22:42

www.yndlingsspil.dk

gillweb

No avatar

2005-11-10 22:48

According to your source code the logo image src is 3 places under your root domain? your HTML for the image is this:
<img src='../../../Headeropening.jpg' alt='' width="750" height="125" />

For each "../" it goes down a level from your domain.

gillweb@gmail.com

Begynderen!!!

No avatar

2005-11-10 22:57

Then like this:
<img src='Headeropening.jpg' alt='' width="750" height="125" />

Jrh

No avatar

2005-11-16 12:23

Please help it is not working still!!

Begynderen!!!

No avatar

2005-11-16 13:01

Please help it is not working still!!

Beholder

No avatar

2005-11-16 17:41

1. either the path to the image is wrong

2. or the image itself is incorrect. My browser informs me that your image is of an unknown format, dimensions 0x0, etc.

Begynderen!!!

No avatar

2005-11-16 20:24

Where do I look for the path? And what is the right path?

wizzud

No avatar

2005-11-18 12:12

Your image is in the /files/img/ folder - exactly where it should be.
The head.tpl in templates/default folder should have the correct path to it already - unless you have changed it from the original -

img src='$config[dir_files]img/$config[logo_img]' alt=''

Check your config/general.php file to make sure your paths are correct (eg. $config['dir_files'] = 'files/';)

Begynderen!!!

No avatar

2005-11-18 21:01

Thanks - problem solved!

Back to top
about us | contact