custom logo on logo block problem

Post Reply
pdurand
Observer
Observer
Posts: 32
Joined: Mon Oct 23, 2017 4:21 pm
Location: Airdrie, Alberta, Canada
Station model: Custom
Software: Custom
Contact:

custom logo on logo block problem

Post by pdurand » Wed Nov 29, 2017 5:00 am

custom logo size...
I am trying to use the logo block on my template.
I have resized the logo to 120 pixels by 65 pixels.
However the logo does not appear on the logo block.
What am I missing?
Pierre Durand

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: custom logo on logo block problem

Post by John B » Wed Nov 29, 2017 6:30 am

Pierre, that's a difficult question to answer if you don't give some sort of description or link.

On my site I use the logo block to post images which I change from time to time. If I remember correctly the images must be in a .bmp format and, of course, named logo.bmp.

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: custom logo on logo block problem

Post by Jachym » Wed Nov 29, 2017 10:14 am

Hi,
the format of the image is irrelevant (can be jpg, png, gif etc.). Also the dimensions should be scaled automatically, if the image does not show up at all then you must have made a mistake in the URL, but as John said, we cannot help you without a link to the problematic page

pdurand
Observer
Observer
Posts: 32
Joined: Mon Oct 23, 2017 4:21 pm
Location: Airdrie, Alberta, Canada
Station model: Custom
Software: Custom
Contact:

Re: custom logo on logo block problem

Post by pdurand » Wed Nov 29, 2017 4:25 pm

The image is located in the template space in a directory named imgs.
I tried both these paths in the logo block settings:

/var/www/html/template/imgs/amasrc.png
/template/imgs/amasrc.png

I will try renaming the file to logo.png
Pierre Durand

pdurand
Observer
Observer
Posts: 32
Joined: Mon Oct 23, 2017 4:21 pm
Location: Airdrie, Alberta, Canada
Station model: Custom
Software: Custom
Contact:

Re: custom logo on logo block problem

Post by pdurand » Wed Nov 29, 2017 4:31 pm

renamed the file to logo.png in the above paths and no success..
Pierre Durand

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: custom logo on logo block problem

Post by Jachym » Wed Nov 29, 2017 5:24 pm

Are you running it locally? Otherwise please post a link, I really cant tell what is wrong if I dont see it.

pdurand
Observer
Observer
Posts: 32
Joined: Mon Oct 23, 2017 4:21 pm
Location: Airdrie, Alberta, Canada
Station model: Custom
Software: Custom
Contact:

Re: custom logo on logo block problem

Post by pdurand » Wed Nov 29, 2017 5:41 pm

I do not understand what running locally means.
I am doing all admin and tests from a computer on another network.

The website address is:
http://amasrc.does-it.net
The logo block in on the right column, last entry.

The image for the logo is stored on the Meteotemplate server in the following directory:
/var/www/html/template/imgs
the URL settings in the logo block is:
/var/www/html/template/imgs/logo.png
Pierre Durand

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: custom logo on logo block problem

Post by Jachym » Wed Nov 29, 2017 5:45 pm

HI,
ok, the link is what we needed....

you didnt enter any name of the image, in the block settings you must provide also the name of the image, the full path to it, like ......image.jpg, otherwise the template has no idea what you are trying to load.

pdurand
Observer
Observer
Posts: 32
Joined: Mon Oct 23, 2017 4:21 pm
Location: Airdrie, Alberta, Canada
Station model: Custom
Software: Custom
Contact:

Re: custom logo on logo block problem

Post by pdurand » Wed Nov 29, 2017 6:01 pm

I did enter the name of the image.
This is what I entered:

the URL settings in the logo block is:
/var/www/html/template/imgs/logo.png
Pierre Durand

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: custom logo on logo block problem

Post by Jachym » Wed Nov 29, 2017 6:37 pm

Hi,
no the image must be inside
homepage/blocks/logo/
and then you specify the name accordingly

Eg:
Image is in homepage/blocks/logo/logo.png

In block settings you put:
logo.png

pdurand
Observer
Observer
Posts: 32
Joined: Mon Oct 23, 2017 4:21 pm
Location: Airdrie, Alberta, Canada
Station model: Custom
Software: Custom
Contact:

Re: custom logo on logo block problem

Post by pdurand » Wed Nov 29, 2017 7:19 pm

It worked.
The Logo block settings indicates Path as entry.

Thanks, Jachym
Pierre Durand

Post Reply