0

I want to create a programme that can

  1. take text input from user and adjust anywhere in specific div
  2. change font, fontcolor and size as per user selection
  3. upload image as background
  4. save whole customization and send as email

with help of PHP/JavaScript Can anyone suggest how to do this.
Main issue is create image from user customization.
An existing programme to do this is also acceptable

I am programmer and working on php javascript magento

pankaj
  • 11
  • 2
  • 2
    This is pretty complex. If you don't have much knowledge in PHP, JavaScript, CSS and HTML, you will find it extremely difficult to program by yourself. What is your question exactly? What do you already have? – Pekka Apr 21 '11 at 08:59
  • i want like this http://www.beltbuckleshop.com/page/belt/PROD/photo/pboval click on Customize Belt Buckle. i have knowledge php javascript html etc and i create some element also but main issue is create image from content of div – pankaj Apr 21 '11 at 10:42

1 Answers1

0

EDIT

Reading your description, it doesn't sound like you really need a screencapture-like version of the content the user created, you just need an HTML embedded editor and a way for someone to upload an image as the background with a way to preview the result. You can send emails with backgrounds using CSS.

  1. (Not sure what you mean, but I presume you can figure this one out)
  2. Use TinyMCE for an editor: http://tinymce.moxiecode.com/
  3. Use jQuery AJAX file upload plugins (maybe http://www.uploadify.com/)
  4. Submit the form (with the selected settings and edited html) to server and process as email

Try here for how to add an image to the background of an email:

http://www.campaignmonitor.com/blog/post/3170/adding-background-images-to-your-email-in-two-simple-steps/

Jared Farrish
  • 48,585
  • 17
  • 95
  • 104
  • this WYSIWYG is good but its not much helpfully in my project i want move element anywhere in div and save image exalts looking in browser. – pankaj Apr 21 '11 at 10:53
  • Well, I've heard of approached in which the server sends the data through a PDF process and then turns that into an image. Otherwise, I'd look into jQuery UI: http://jqueryui.com/ – Jared Farrish Apr 21 '11 at 10:58
  • can you tell me about pdf process if we create image then is it ok in over case. thanks for replies – pankaj Apr 21 '11 at 11:35
  • That's a pretty complex chain. See http://stackoverflow.com/questions/391005/convert-html-css-to-pdf-with-php for what HTML to PDF options exist, and http://stackoverflow.com/questions/5528951/viewing-pdf-as-image-flow-php for more PDF to image information. – Jared Farrish Apr 21 '11 at 12:05