Preview images..

images php coding issues or problems here.

Moderators: macek, egami, gesf

nick_k
New php-forum User
New php-forum User
Posts: 34
Joined: Wed Dec 25, 2002 6:04 am
Location: The Netherlands
Contact:

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?

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

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


nick_k
New php-forum User
New php-forum User
Posts: 34
Joined: Wed Dec 25, 2002 6:04 am
Location: The Netherlands
Contact:

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

Thanks Pejone!
Sorry about posting this in the wrong forum

User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

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

using imagecopyreasmpled will give you much better results.


Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 1 guest