Printer friendly Pages - Logo only appears if my blog has an attachment

I seem to be getting some strange behavior. I created a blog with an attached file. When I click ‘printer friendly version’ to print the page, a logo is shown as expected. However if the blog does not have a attached file the printer friendly page outputs the words ‘logo’ rather than the image, followed by the expected information.

Any particular reasons why?
Note I also installed the Attachment module.

Anyones help in this matter would be much appreciated.

Thank you in advance
Ravi

Comments

deekayen’s picture

Category: bug » support

I seem to remember one of the 4.6 versions having trouble with logo uploads. You might want to look into manually copy a logo.png file to the directory of the theme you're using and/or the misc directory. Providing an example of HTML or a URL would be helpful, since what you've provided isn't totally clear.

deekayen’s picture

Version: 4.6.x-1.x-dev » 7.x-1.x-dev
Category: support » bug

I confirmed blog entries don't show the logo without an attachment in the latest CVS, but it does show the logo when an attachement exists.

deekayen’s picture

Debug help:

The img src is returned from theme_get_setting('logo') in print.node.tpl.php.

w/o attachment
Only local images are allowed.

w attachment
Only local images are allowed.

deekayen’s picture

and since I forgot to put code tags around the examples, here it is again:

w/o attachment
<img src="/logo.png" alt="logo" border="0" />

w attachment
<img src="themes/bluemarine/logo.png" alt="logo" border="0" />

deekayen’s picture

Status: Active » Closed (duplicate)

Assuming dup of http://drupal.org/node/42857 unless Peter says otherwise.

chueewowee’s picture

Title: Printer friendly Pages - Logo only appears if my blog has an attachment » Printer friendly Pages - with full html,image, hotspot and dropmenus/java script..bug?

In this senario neither the image, or text or dropmenus show, but image placeholder and title does, along with the site url, price, and source url.
Version: from 4.7 downloads and version 4.7.x

The html code for content was generated in Flash, and the node displays fine, but not the print node.

Incidentally, the page is a product page. I have not tested it on normal pages.

Insights? Welcome..., please.

John PLum