Results 1 to 3 of 3

Thread: resize attached images

  1. #1
    Join Date
    Nov 2008

    Default resize attached images

    My aim is to create an emailing system to receive uploaded images with details.
    Using FormMail this works great.
    However these images will be printed at mostly 8" x 6" and less often at
    6" x 4" both with a print resolution of 300 dpi.
    The originals of these images will have a variety of resolutions.
    I would like to re-size the images dynamically to default to 2400 x 1800 dpi for the 8" pictures and 1800 x 1200 dpi for the 6" pictures within the form before uploading.
    I have been trying with a spectacular lack of success to do the above in PHP and with Java scripts.
    Has anyone managed to achieve anything similar within FormMail?
    Any help or comments, would be most, most appreciated.

  2. #2
    Join Date
    Dec 2003

    Default Re: resize attached images


    It sounds like you need to write some PHP code that uses the GD library to do the resizing.

    This can be easily hooked into FormMail during processing.

    Write the code to resize an image, and get that working first. We can then explain how to hook it into FormMail.

    If you need help in writing the resizing code, we do offer contract programming services.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder

  3. #3
    Join Date
    Nov 2008

    Default Re: resize attached images

    Russell thank you yet again.
    Have made progress with GD.
    The answers are so simple when you understand the question.
    My problem is the more I understand the question then the question becomes ever larger.
    So fascinating.
    Russ will you be at the phpMelb Sept meeting or the Open Source Developers Conference 24-26 Sept?

    Cheers and thank you,


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formmail: Can csv file be attached to email sent?
    By railer in forum FormMail Subscription Support
    Replies: 6
    Last Post: 14-Aug-2007, 09:13 PM
  2. Uploading, resizing, inserting images?
    By mikeblah in forum Community Support
    Replies: 3
    Last Post: 29-Aug-2006, 03:46 AM
  3. Can the csv file be attached to an email?
    By Dweb in forum Features Questions
    Replies: 1
    Last Post: 23-Jun-2006, 08:38 PM
  4. Images in good template not working
    By Tritty in forum FormMail Subscription Support
    Replies: 1
    Last Post: 24-Jul-2005, 09:41 PM
  5. Uploading Multiple Images
    By JNewb in forum FormMail Subscription Support
    Replies: 2
    Last Post: 12-Dec-2004, 02:39 PM


Posting Permissions

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