Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 03:45 am EST
Geeklog Forums
1.4 theme problem with png and gif
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
I've upgraded to 1.4sr2 with no problems except for one with the theme I am converting. Some images are broken for the admin interface. I've copied over all images and admin templates but when I look at the source of the page through the browser I notice that geeklog is tring to reference gif instead of png, like this:
bararrowdown.gif
instead of
bararrowdown.png
The header.thtml file contains
{header_text}{img_arrow}
Geeklog is putting the right location in {img_arrow} but has put .gif instead of .png
Why is this and how do I fix it? I assume this is purely a template thing since the professional theme works just fine on the site.
Thanks
One of the Geeklog Core Developers.
bararrowdown.gif
instead of
bararrowdown.png
The header.thtml file contains
{header_text}{img_arrow}
Geeklog is putting the right location in {img_arrow} but has put .gif instead of .png
Why is this and how do I fix it? I assume this is purely a template thing since the professional theme works just fine on the site.
Thanks
One of the Geeklog Core Developers.
14
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
As of 1.4.0, themes can define the image format to use. The default format is GIF, but the Professional theme now uses PNG.
From the Professional theme's functions.php:
You could switch your theme to PNG, but that would mean that all images would have to be PNG. Or you could convert the missing images to GIF.
bye, Dirk
From the Professional theme's functions.php:
Text Formatted Code
$_IMAGE_TYPE = 'png';You could switch your theme to PNG, but that would mean that all images would have to be PNG. Or you could convert the missing images to GIF.
bye, Dirk
26
9
Quote
All times are EST. The time is now 03:45 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content