From: RYAN M. v. G. <lu...@co...> - 2006-10-25 23:50:14
|
----- Stroller <lin...@my...> wrote: > 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. Thank for the Vote of confidence hehe as i must admit most of my errors are usually related to something between the chair and the keyboard. > > 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? I have try ed this and it did not work for me however i will try it again and again just to make sure. I will post back to this list with my results in the next few days as i am very busy for the next while. > > Stroller. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users -- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton |