From: Stroller <lin...@my...> - 2006-10-25 12:50:47
|
On 23 Oct 2006, at 02:57, RYAN M. vAN GINNEKEN wrote: > Thanks agian for your reply now that i have email working i am > stumped on the logo thing. I have added my logo to /usr/local/sql- > ledger directory it has the following perms and onwerships. > > -rwxrwxrwx 1 www www 2425 Oct 22 18:46 logo.png > > It shows up when i edit my letterhead.html but when i send an email > it is not there just the border I added and one of those browser > palace holder thingys. I seem to have just experienced the same thing, but using my logo in invoice.tex I had honestly disregarded Mr Van Ginneken's problem as "existing between keyboard & chair" however the problem seems to have inexplicably resolved itself for me, and I can only conclude that something glitchy may sometimes occur with the logo. I have spent some time this morning paying attention to the full format of the .png file - for instance note that: $ file /usr/local/sql-ledger/templates/Service-logo.png /usr/local/sql-ledger/templates/Service-logo.png: PNG image data, 220 x 138, 8-bit colormap, non-interlaced $ convert my_logo.eps foo.png $ file foo.png foo.png: PNG image data, 584 x 576, 16-bit/color RGB, non-interlaced $ convert my_logo.eps -depth 8 foo.png $ file foo.png foo.png: PNG image data, 584 x 576, 8-bit/color RGB, non-interlaced $ However in frustration I copied back the original logo and it STILL! didn't work!!?! After making trivial edits in my invoice.tex the logo reappeared, only to remain there when I reverted those very same edits!! When I copied back my_logo.png, suddenly it worked perfectly!! So I am completely unable to explain why the image didn't work in the first place. My permissions are the same as Ryan's, and I have changed them at no time. I can't believe I have made some stupid mistake - even though that's the only logical explanation! - because I used my bash history to go back to the same `cp working.png /usr/local/sql-ledger/templates/ stroller/logo.png` each time. Likewise, I used up-arrow in bash to edit the `convert` command (ImageMagick), then `file` & `identify` to check the file format. So my only suggestion to someone else experiencing this is to copy the original logo back and then try again from scratch. Maybe there's something in the email generation process that caches the logo? Stroller. |