You are here: Re: General Design and Programming Question « PHP Programming Language « IT news, forums, messages
Re: General Design and Programming Question

Posted by Areric on 12/12/06 19:21

eholz1,

The thumbnailing you mention can easily be done using calls to gdlib
functions. I do pretty much exactly what your talking about right now
on a couple sites. When a user uploads an image i thumbnail it and save
the thumbnail and main image to the db setting the parent id of the
thumbnail to the main images id.

Google something like "php thumbnail gdlib" and youll prolly come up
with a dozen tutorials or examples.


eholz1 wrote:
> Hello PHP group,
>
> I looks like this is a good forum to ask my question. I am using both
> PHP and MySQL.
> I would like/am designing a photo database for the web - not heavy duty
> - not complex, like menalto Gallery, etc. My idea is to use PHP and
> MySQL. I would like to store the images in the MySQL database, and
> display them using PHP. I would like to have a table with thumbnail
> images, that when "clicked" will link to a veiw page that will display
> a larger version of the thumbnail.
>
> My guess is that the thumb nail will be around 200px wide and 250px
> high (or maybe less , in the 100px area). I figure I will have the
> larger image at around 800x600 pixels, at 72dpi.
>
> I have some basic code that puts the image(s) in my database, and can
> call the image using a view image.php page.
>
> I do not plan to fully automate this procedure. Perhaps i will
> automate the thumbnail creation (netpbm, etc).
>
> Any suggestons the newsgroup might have on this basic design, etc will
> be quite helpful.
>
>
> thanks,
>
> eholz1

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация