Site For Client's Ads

  • Started
  • Last post
  • 1 Response
  • Buckyball2

    We have been given the lovely task of designing and implementing a site to house one of our client's ads. The main purpose is to give them access to hires PDFs of their ads. They will go to the site, find the ad and specific size of that ad they need and click on a link to that ad.

    Here are some of the more important questions I have in relation to the task:

    1. When you click on a specific ad's link, they want it to auto open your email and auto attach the ad into the body of that email. They can enter the email address of the vendor who is going to print the PDF. I have the first part (mailto:/) down and after some research found that .asp would be one way to go for the auto attach function. Anyone else think this would work or is there another way to do this? I have zero knowledge of asp and its functions.

    2. What is the easiest way to do this project. Meaning: the most flexible, customizable method of cataloging, displaying, etc. this database of ads. Anyone ever built something similar to this?

    Unfortunately, I make more pretty pictures than I do pretty code, so some of the stuff you suggest might go over my head. Dumb it down if you can. thanks.

    bB

  • b34r0

    One option would be to use a COM object that would embed the image/ad inside the PDF at runtime - so the end user chooses a size, the image is fetched and 'loaded' in to the PDF (at the correct size), the email client is opened and the PDF is attached.

    The COM Object allows you to create multiple PDFs on the fly *without* having to create them manually. It allows for manipulation of the PDF (adding images, text whatever to a blank PDF document) that is then served to the end user. All of this is done serverside. For examples of PDF COM Objects go here...

    http://www.planetpdf.com/mainpag…

    Alternatively if your using PHP I'm sure that there would be some form of Library that you can use for the manipulation of serverside pdf docs.

    Hope this helps. :)