473,385 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Merge users photo with frame

hello

I want to write a code that in the web page I have some frame then user can upload his picture on this page And choose frame to see his photo on these frame(merge her photo with frame) when user like any one he can save her photo with frame on his computer.

Pleaes help me ?
May 3 '09 #1
5 2910
tlhintoq
3,525 Expert 2GB
You've just described the entire application, followed by "please help me". With which part? What have you written so far? What areas have you done fine in, and what parts do you need help with?
May 3 '09 #2
Thanks for reply.
i dont know how i can do this:
1)I dont know how can merge two picture (the frame for photo and the users photo)
2)I Dont know how show frames to users that they can select between them.
May 4 '09 #3
tlhintoq
3,525 Expert 2GB
@sanamsalehi
Read up on the System.Drawing.Graphics namespace. This has everything you need.

2)I Dont know how show frames to users that they can select between them.
PictureBox controls should work just fine. Your pictureframes are just png graphics. You can display them just like any other picture.
May 4 '09 #4
PRR
750 Expert 512MB
This might help.. What you want to seems to me a little tricky....
A simple way would be to take a image of specified size as input (say 100,100) and then draw rectangle over it .... but that wont be merging image ....
Second way would be defining a rectangle in the Frame image and then inserting the pic...
Try out different stuff ....
May 12 '09 #5
Frinavale
9,735 Expert Mod 8TB
You don't actually have to merge any photos.
You could simply use CSS to do this.

You would have a bunch of Panels on the page that will server as your picture frames...they should have a set height and width. You would set the background images of these Panels to be the picture frame styles that your friend is trying to sell. You would place another Panel inside the Frame Panel that will be the place holder of where the picture will be (use CSS to center it in the middle of the frame panel). Then you would load the user's uploaded picture into the picture frame.

In order to avoid distortion, you may choose to use the System.Drawing.Graphics namespace to scale the image to the appropriate size (as tlhintoq has suggested already).
May 12 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Joseph Ellis | last post by:
Hello all. I have a family website that I have been maintaining for the past year and a half or so. It includes a photo album that has grown quite large. So far I've displayed the photo album...
12
by: frizzle | last post by:
Hi there, I was wondering what's the quickest way to put a (transp-PNG) over a picture? I have a code, but i guess it's sloppy. And it's slow. (Code below this message) Could anyone...
3
by: Richard Fritzler | last post by:
I was given the task of designing a complete web based document prep system. In simplest terms (using a msword explanation) create a database of merge fields, and a library of templates. Allow the...
1
by: Bill Strass | last post by:
I have a form showing the records of different people. I would like a photo to be displayed in the form, with each person's record. My digital photo > *.jpg type file and I change each photo...
2
by: Guadala Harry | last post by:
I created a simple "photo album" page; it has a bunch of ImageButton controls that display the thumbnails - and then an Image control that displays the full-sized image when the corresponding...
0
by: Wayne Sepega | last post by:
We currently are developing an enterprise framework and I am trying to create a set up project for this. Currently I have a merge module that has all of our assemblies set to go into the GAC, and a...
7
by: giladp1 | last post by:
I found Albert Kallal's great "Super easy Word Merge" code in his site at: http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html Thanks Albert so much for sharing this. I am looking...
9
by: DeZZar | last post by:
Hi all, Basically I want the data in an open form to merge with a word template and create a new document. So a user navigates to a particular records and presses a button "Produce Document"...
1
by: jrsjrs | last post by:
I have been trying to adapt the photo carousel script located at -- http://www.dynamicdrive.com/dynamicindex14/carousel.htm to open a new page in another frame located directly below the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.