Page 1 of 1

Open jpg and save it

Posted: Tue Feb 16, 2010 2:37 pm
by mariolopes
Hi
I need to make one family tree and i need to show the deseases of the ancesters (with images). I don't know how can i do that. Maybe I create a jpg file open it make some changes (add a grand parent for instance) and save it again. I don't know... any ideas?
Thank you

Re: Open jpg and save it

Posted: Tue Feb 16, 2010 6:23 pm
by Christopher
You can probably build the page using HTML and CSS. That will be easier than putting everything in a single image. Style an image with a connecting line at the middle top and bottom. Then build a tree by centering the images in each row and creating the horizontal connecting lines.

Re: Open jpg and save it

Posted: Thu Feb 18, 2010 8:03 am
by mariolopes
Ok
How can i save it in my database? Like a CSS code?

Re: Open jpg and save it

Posted: Thu Feb 18, 2010 8:38 am
by timWebUK
CSS is a style sheet language, used to modify the format and display of a page.
HTML is used to represent the data on the page and to hold places for images.

So you would need to gather all your information and images, output it using HTML and format the layout using CSS.

I don't really see a possible application for a database other than to just store the information, if this is the case then you would access the database using PHP and most likely mySQL and output the data within the HTML.

Don't over complicate it.

EDIT: I think I understand what you want now. You'd need a form where you can input the information and a field to upload an image that you've made. The rest is the same, HTML and CSS to display and format.

Re: Open jpg and save it

Posted: Tue Feb 23, 2010 6:09 am
by mariolopes
You'd need a form where you can input the information and a field to upload an image that you've made.
Yes it's what i need. How can i make a form for imput the information?
Thank you

Re: Open jpg and save it

Posted: Tue Feb 23, 2010 12:29 pm
by Jonah Bron