Re: where to start

From: Date: Thu, 26 Oct 2000 01:25:26 +0000
Subject: Re: where to start
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21990@lists.php.net to get a copy of this message
This is what I would do - if you know the product number (ie the picture names correlate with the product number - product #2800 has an image called 2800.jpg) then you can merely have a product DB move all images to one location and just do this <IMG SRC="<? echo $IMG_PATH.'/'.$productID.'.jpg'; ?>" BORDER="0"> If not then you need to have some data entry person correlate ID's to pictures (ie put 2800.jpg in the field "ImageName" in your DB) and do the above only with the new data - like this: <IMG SRC="<? echo $IMG_PATH.'/'.$ImageName; ?>"> --Joe On Wed, Oct 25, 2000 at 02:21:13PM -0700, Jerry Lake wrote: > I'm still pretty new to the php thing > as well as programming at all. I am currently > working on rebuilding a website and would like to make it a little more low > maintenance. and I was wondering if anyone has any ideas as to where I > should start with a particular issue. > > I have a bunch of images and respective thumbnails > numbered 2800 - 2885 (approx) and the thumbs are 2800-t - 2885-t (approx) > with several of the images > inside the sequence gone do to retirement of old product. > > I would like to be able to have a MySQL database with the image information > to generate the pages putting perhaps 9-12 thumbs per page linking to the > fullsize images, I've seen several image programs from hotscripts but none > really seemed to suit my purposes entirely I basically need something that > will do the catalog layout no image creation or auto thumbnails or anything > although searchability would be nice. anyway, I'm rambling...if anyone can > point me in the right direction Id really appreciate it. > Regards, > J. > > Jerry Lake - jerryl@europa.com > Web Designer > Europa Communications - http://www.europa.com > Pacifier Online - http://www.pacifier.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net ================================================================================ = Joe Stump joestump98@yahoo.com http://www.miester.org = ================================================================================ "Real programmers don't comment their code. It was hard to write, it should be hard to understand."

« previous php.general (#21990) next »