Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

Preview images..

images php coding issues or problems here.

Moderators: macek, egami, gesf

Preview images..

Postby nick_k » Sat Feb 22, 2003 12:27 pm

Hi,

Im making a script for a friend who makes and sells website templates. What the script is supposed to do it this:
the admin logs in, then if he wants to add a new template, he enters some info (like for example: price, name, id, etc.), and he uploads a pic. This is the easy part, i am going to make a txt file with a number in it, then when the admin ads a script, the txt file with the info, and the pic will receave the name of the number in that file, and when its done saving it, it increases the number in the txt file by 1 (so now each new template will have a different number). The users to be able to open a page that has a thumb of the pic, and the info about it, iv got that taken care of, but now the problem is that i dont know how to make thumbs, or images that are like 800 * 600 pixels (for example), any ideas?
nick_k
New php-forum User
New php-forum User
 
Posts: 34
Joined: Wed Dec 25, 2002 6:04 am
Location: The Netherlands

Postby Oleg Butuzov » Sun Feb 23, 2003 12:19 am

Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby nick_k » Sun Feb 23, 2003 12:44 am

Thanks Pejone!
Sorry about posting this in the wrong forum
nick_k
New php-forum User
New php-forum User
 
Posts: 34
Joined: Wed Dec 25, 2002 6:04 am
Location: The Netherlands

Postby Redcircle » Sun Feb 23, 2003 11:51 am

using imagecopyreasmpled will give you much better results.
User avatar
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA


Return to PHP coding => Images

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.