How to use customize logo/picture in email message ?

Solutions for other phplisters - Questions go in the questions and problems forum

Moderators: Dragonrider, J_S, Hernol, vancoovur, H2B2, bevan, Heritage

How to use customize logo/picture in email message ?

Postby shakensoul » 8:44am, Sat 07 Nov, 2009

Hello All,

I am trying to customize my email messages with my own logo in the signature, but the picture is not displayed, instead a red cross appears. I think I have edited the connect.php correctly and uploaded the picture to the images folder.

This is what I have edited in connect.php

Code: Select all
if (REGISTER) {
   $PoweredByImage = '<p align=left><a href="http://www.rps-savana.co.in"><img src="images/savana_logo_blue.png' . $v . '/images/savana_logo_blue.png" width=250 height=66 title="Savana Community Forum' . $v . '" alt="Savana Community Forum ' . $v . '" border="0"></a></p>';
} else {
   $PoweredByImage = '<p align=left><a href="http://www.rps-savana.co.in"><img src="images/savana_logo_blue.png" width=250 height=66 title="Savana Community Forum ' . $v . '" alt="Savana Community Forum' . $v . '" border="0"></a></p>';
}


Please note that I am not trying to take away the credit by removing the phplist logo, but I am simply trying to customize the email signature to give it a more professional look. The visitors to my website are directed to the phplist website.

Any help would be appreciated.
shakensoul
phplist newbie
 
Posts: 3
Joined: 8:37am, Sat 07 Nov, 2009

Re: How to use customize logo/picture in email message ?

Postby Dragonrider » 9:22am, Sat 07 Nov, 2009

Haven't looked to see what $v is, but in your first section(images/savana_logo_blue.png' . $v . '/images/savana_logo_blue.png"/), it looks like you've got images/savana_logo_blue.png repeated twice?
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net

If you're really stuck with installing phpList I'm willing to help out for 1/2 hour once in a while via Remote Access. PM me if you're desperate!
Dragonrider
Moderator
 
Posts: 1249
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley

Re: How to use customize logo/picture in email message ?

Postby shakensoul » 11:50am, Sat 07 Nov, 2009

Well I am not sure, this is the original code that I modified. With my limited knowledge, I replaced all references of img src to = images/savana_logo_blue.png

Code: Select all
if (REGISTER) {
   $PoweredByImage = '<p align=left><a href="http://www.phplist.com"><img src="http://phplist.tincan.co.uk/images/' . $v . '/power-phplist.png" width=70 height=30 title="Powered by PHPlist version ' . $v . ', &copy; tincan ltd" alt="Powered by PHPlist' . $v . ', &copy tincan ltd" border="0"></a></p>';
} else {
   $PoweredByImage = '<p align=left><a href="http://www.phplist.com"><img src="images/power-phplist.png" width=70 height=30 title="Powered by PHPlist version ' . $v . ', &copy; tincan ltd" alt="Powered by PHPlist' . $v . ', &copy tincan ltd" border="0"></a></p>';
}
shakensoul
phplist newbie
 
Posts: 3
Joined: 8:37am, Sat 07 Nov, 2009

Re: How to use customize logo/picture in email message ?

Postby Dragonrider » 2:06pm, Sat 07 Nov, 2009

shakensoul wrote:Well I am not sure, this is the original code that I modified. With my limited knowledge, I replaced all references of img src to = images/savana_logo_blue.png

Okay, thanks for that, try changing it to this:

Code: Select all
if (REGISTER) {
   $PoweredByImage = '<p align=left><a href="http://www.rps-savana.co.in"><img src="http://www.rps-savana.co.in/images/' . $v . '/savana_logo_blue.png" width=250 height=66 title="Savana Community Forum ' . $v . ' alt="Savana Community Forum '. $v .' " border="0"></a></p>';
} else {
   $PoweredByImage = '<p align=left><a href="http://www.rps-savana.co.in"><img src="http://www.rps-savana.co.in/images/savana_logo_blue.png" width=250 height=66 title="Savana Community Forum ' . $v . ', &copy; tincan ltd" alt="Savana Community Forum '  border="0"></a></p>';
}


You might need to check I haven't missed anything off, but the paths look right now.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net

If you're really stuck with installing phpList I'm willing to help out for 1/2 hour once in a while via Remote Access. PM me if you're desperate!
Dragonrider
Moderator
 
Posts: 1249
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley

Re: How to use customize logo/picture in email message ?

Postby shakensoul » 5:15pm, Sat 07 Nov, 2009

That worked great. The exact code did not work but I got the point, and I made the changes accordingly and the logo was displayed in the email message.

Thanks for the help.
shakensoul
phplist newbie
 
Posts: 3
Joined: 8:37am, Sat 07 Nov, 2009


Return to Answers, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 1 guest