Picture Frame Builder anyone?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
don chase
Forum Newbie
Posts: 1
Joined: Wed Dec 30, 2009 3:22 pm

Picture Frame Builder anyone?

Post by don chase »

:) Hello everyone,
I am so new it hurts :)

I have a scenario that needs some help.

I am a client with a PHP MySQL ecommerce art gallery site that needs a picture frame simulator, anyone did one of those? Or, possibly would like to make me an offer? I need it to do as follows:

1. User has selections made. We got it done so far.
2. Mat needs to go around the image first and gets adjusted... narrower or wider as needed.
3. User selects a frame moulding from db that goes around the earlier.
4. Prices are calculated as image sizes are modified from selector.
5. PDF Purchase Order is generated after final picklist is done, or Shopping Cart/Picklist goes to checkout.
in the event you would like to review site... http://www.omega-arts.com is where you can find us.

Thanks for your interest and help!

Don
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Re: Picture Frame Builder anyone?

Post by daedalus__ »

don, if you are searching for a contractor please post under job hunt. thanks
ramblin54321
Forum Commoner
Posts: 32
Joined: Wed Nov 18, 2009 5:31 am

Re: Picture Frame Builder anyone?

Post by ramblin54321 »

Greetings,
You don't need to resize with php because an art customer can see how the mat and frame will look with the mat and frame sized to whatever the photo size already is. For example, I picked a photo on your site that was 400 x 300, I made the mat as a backround size of 450 x 350 and the frame 500 x 400. Simple html and css as follows:

Code: Select all

 
<html>
<head>
<style>
 
table.1 {background-image:  url(frame.jpg);}
table.2 {background-image:  url(bluemat.jpg);}
 
</style>
</head>
<body>
<table class = '1' width = '500px' height = '400px'>
<tr><td align = "center"><table class = '2' width = '450' height = '350'><tr><td align = 'center'><img src="LakeRusselOregon.jpg"></td></tr>
</table></td></tr>
</table>
 
</body>
 
</html>
 
If this works for you, please send me a nice mountain lake painting :D
Attachments
bluemat.jpg
bluemat.jpg (57.82 KiB) Viewed 122 times
frame.jpg
frame.jpg (101.71 KiB) Viewed 122 times
Post Reply