Forums / General Questions / High-Resolution logo.gif?

High-Resolution logo.gif?

Locked

Started by absoluteblock on 28 Jan 2007, 8:31 AM · Views: 7,116

Results 21 to 23 of 23
This thread is locked. New replies are disabled.
30 Jan 2007, 9:15 AM
#22
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: High-Resolution logo.gif?

OK. Hands-up. We're making a right b&*$%-up of answering your question. On one level it's much more complicated than it first appears, at another I really can't understand why people aren't asking it all the time.

I'm going to deal with some of the issues raised above, but if you just want to get at the answer to your question skip to this FAQ entry.

You were heading in the right general direction when you identified the define statements in english.php and the the zen_image function in invoices.php and packingslip.php, but although the right direction, it's a blind alley.

Getting these settings to be recognized would have required simply extending the php code that you had already identified to read```php

<?php echo zen_image(DIR_WS_IMAGES . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT); ?>

However this would also have fixed this as the image size IN PIXELS for both display and print. Fine for display, but wholly inadequate for print.

What you need is a method that fixes the size in pixels for the screen, but allows you to set different values for printing. Better still it would allow you to use physical measurements that make sense in a print environment such as inches or millimetres. Which happily, is exactly what the new FAQ entry does.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

30 Jan 2007, 9:59 AM
#23
absoluteblock avatar

absoluteblock

Zen Follower

Join Date:
Oct 2006
Posts:
107
Plugin Contributions:
0

Re: High-Resolution logo.gif?

Thanks Kuroi for your hard work. I appreciate it.