SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Member
    Join Date
    Dec 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Include picture in Tell A Friend PHP scrip

    I need help on Tell A Friend PHP scrip:

    I've been trying to use the Tell A Friend script and the tutorials online are very helpful

    BUT there's one thing I can't figure out

    How do we include a picture that I need to show in the Tell A Friend PHP scrip because many people don't bother to open the link in the message section via Tell A Friend script

    I need help on that! PLEASE PLEASE if anyone know the script, send it to me, and I would be very appreciated

    Thank you

  2. #2
    SitePoint Wizard bronze trophy Immerse's Avatar
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    1,661
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)
    What kind of picture do you mean?

    In the e-mail that is sent out by the tell-a-friend function?

  3. #3
    SitePoint Member
    Join Date
    Dec 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The picture is kind of like an attachment picture you seen in Eblast Email. When a person sent the email to the third-party, they can also see the picture and click on the Tell A Friend link to send to another person without clicking on any other links to view the picture.

    Hope that help...

  4. #4
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It has to be added in the email sending php script. So can you post the tell a friend email sending script? Are you using third party php script for this purpose or you have made it yourself?
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5

  5. #5
    SitePoint Wizard bronze trophy Immerse's Avatar
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    1,661
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)
    Ah, you mean you need to embed an image in the e-mail?

    Like rajug asks, we need to know if you're using your own software or an existing library for sending the e-mails out.

  6. #6
    Twitter: @AnthonySterling silver trophy AnthonySterling's Avatar
    Join Date
    Apr 2008
    Location
    North-East, UK.
    Posts
    6,111
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    It might be worth mentioning that nearly all email clients block images from being displayed by default.
    @AnthonySterling: I'm a PHP developer, a consultant for oopnorth.com and the organiser of @phpne, a PHP User Group covering the North-East of England.

  7. #7
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by AnthonySterling View Post
    It might be worth mentioning that nearly all email clients block images from being displayed by default.
    Saying so, clients never agree on not sending the images (embedded) :-) (at least in my experience)
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5

  8. #8
    SitePoint Zealot
    Join Date
    Jun 2010
    Location
    Arizona
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Almost every e-mail client blocks linked images because they require talking to a web server. That feature was abused to track valid e-mail addresses and who opened/previewed the message that was sent. That is why the current method of clicking to show images is in place.

    Almost every e-mail client, however, does show embedded images (CID) without clicking on anything (some webmail providers don't). Embedding is vastly different from linking. It is also harder to get right, consumes a ton of bandwidth, and can be difficult to get through spam filters.

    http://www.campaignmonitor.com/blog/...ges-revisited/

    The SMTP functions I've written are CID embedding capable.
    Thomas Hruska

    Single Sign-On Server/Client - The PHP login system that rocks.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •