/    Sign up×
Community /Pin to ProfileBookmark

"User Design" Script?

I have no idea what I would call it – I posted this on the JavaScript board, but they recommended I pop over here for additional information…

I design announcements & invitations, as well as other photo gifts, and would love to have a script that does something similar to companies like Vista Print, where the customer can input wording, images, etc., and see a “proof” right on screen… I hope I’m not violating anything by using VistaPrint as an example, I don’t do business cards, and they have a neat program here:

[url]http://www.vistaprint.com/vp/ns/stu…71&gallery_id=9[/url]

I have looked at the source and cannot determine if this is software that I can purchase, or if it’s a code I’ll have to write (har har, or have someone write for me… please tell me it’s easy or I could buy software for it!)… it appears to have loads of javascript, amongst other codes… am I asking for the impossible? What does one even CALL a script like this one, if I needed to do additional research?

Thanks in advance for your help!

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@TheBearMayOct 17.2006 — The site you're using as a reference was done in ASP.Net, but you should be able to do the same thing in PHP...
Copy linkTweet thisAlerts:
@garysgalauthorOct 17.2006 — That's good, but where do I even begin? Are you aware of any software that may do this, or is this going to have to be written from the "ground up"? I can HTML til the cows come home, but PHP is a little out of my scope as far as complete scripting...
Copy linkTweet thisAlerts:
@bokehOct 17.2006 — Well personally if I were going to do this I would do it with Javascript. You would need to build a user interface. This would need controls that work immediately. To do it with php would be a nightmare with the constant submissions all the time to make a minor alteration. All you need is a few arrays of different fonts and have Javascript lay them over the image using CSS, absolute positioning and z-index. You would have up and down and left and right controls to move the text around the image. Once the user had decided the image was to their satisfaction only then would it be submitted to the server for PHP to make the composite image. To see the basics of this logic have a look at the avatar script in my signature. Javascript layers the image and once the user is happy PHP assembles the composite.
Copy linkTweet thisAlerts:
@garysgalauthorOct 17.2006 — Ah, that's a nice script - I could definitely make something like that work for what I need!

Okay, so this may sound like a moronic question, but how would I integrate my customer's images (or I guess for arguement's sake, I could have a "blank generic image" there and the customer could simply envision what their card would look like, then when they send me the image I can finalize it, does that make sense?)?

So I just need to figure out how to tackle words/fonts and allowing the user to move the data around... methinks I may be in over my head! LOL!
Copy linkTweet thisAlerts:
@bokehOct 17.2006 — Well first they would upload the image so you could save the full sized version. You would then output a reduced size version for them to play with in the user interface. Finally in your database you would make a record of the image, the applied text, the font style and colour and the coordinates. You wouldn't even need to make a full sized version of the final image at this stage, just a reduced sized one where they can confirm the final image.
Copy linkTweet thisAlerts:
@garysgalauthorOct 17.2006 — Thank you.

I've spent the last three hours cleaning up the mess from my brain exploding, however. ?
×

Success!

Help @garysgal spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...