This one time, at band camp, Kevin Waterson <[EMAIL PROTECTED]> wrote:
> I need to store the thumbnails in the database.
> So, I need to resize the image at the same time as I store it.
Ok, so the secret here is output buffering
// prepare the image for insertion
$imgData =adds
The latest version of GD adds support for opening an image from a
pointer to the C/C++ API but that support is not in PHP.
It is recommended to create the thumbnail on file upload using the
$_FILES array to get the temporary file name, if you need to create a
thumbnail from a file only in the d
http://www.sum-it.nl/en200319.php3
Create thumbnail
a.. Cropping and scaling a photo is surprisingly easy with PHP.
b.. Unfortunately the functions imagecreatetruecolor() and
imagecopyresampled() exist only since PHP 4.0.6 using GD 2.0.1. Older PHP
version supports the functions imagecreate()
On Sat, 2004-01-17 at 16:44, Kevin Waterson wrote:
> Why create thumnails? You can resize the images on
> the fly when needed.
This would be too expensive.
I need to store the thumbnails in the database.
So, I need to resize the image at the same time as I store it.
I can do this and save
This one time, at band camp, Daniel Guerrier <[EMAIL PROTECTED]> wrote:
> Why create thumnails? You can resize the images on
> the fly when needed.
This would be too expensive.
I need to store the thumbnails in the database.
So, I need to resize the image at the same time as I store it.
I can
>Why create thumnails? You can resize the images on
>the fly when needed.
It's generally good practice to trade CPU for disk space, where possible.
-
michal migurski- contact info and pgp key:
sf/cahttp://mike.teczno
> --- Kevin Waterson <[EMAIL PROTECTED]> wrote:
> > I am storing some images in a database. No problems
> > there.
> > But how can I create a thumbnail do store in the db
> > also
> > without having to create the thumbnail image on the
> > file system first?
> >
> > Kind regards
> > Kevin
> >
>
Why create thumnails? You can resize the images on
the fly when needed.
--- Kevin Waterson <[EMAIL PROTECTED]> wrote:
> I am storing some images in a database. No problems
> there.
> But how can I create a thumbnail do store in the db
> also
> without having to create the thumbnail image on the
>
Hi ,
I have mailed you some code i use to make thumbnails etc.
It only manipulates the image once, then stores a thumb and streams it to
the page when requested
Regards
Dallas Goldswain
Technical Director
Web|Genetics / www.development.co.za
Regards
<[EMAIL PROTECTED]> wrote in message
news:[EMA
thanks for all the info, I am doing this project this week (hopefully) so I
am sure I will have more questions!
Eddie
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 7:14 AM
To: Edward Peloke; [EMAIL PROTECTED] Php. Net
Subject: Re: [PHP
Hello,
I did a family photo gallery, and from my experiences it would be best if you
handle the thumbnail generation during the upload process. Just make sure you
have a naming convention or link the thumnail into your repository/DB so you
don't loose that space when you delete the record. It
> I know thumbnails have been discussed and I have looked at the archives, I
> am just looking for opinions. I am doing a small website for a used
vehicle
> dealer. I need to make it as easy as possible for him to add new
vehicles.
> I plan to just give him a form for the information, and a place
I'd definitely generate them on the fly for him. I personally use the *NIX
program "convert" which comes with imagemagick. It works great and is easy
to use.
General Steps:
1.) Copy big image to location
2.) Use convert to make a thumbnail and name it 't_'.$image_name
3.) Put image name in a db s
Why reinvent the wheel?
http://gallery.jacko.com/modules.php?op=modload&name=News&file=index
or...
http://gallery.sourceforge.net
---John Holmes...
> -Original Message-
> From: Mantas Kriauciunas [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 10, 2002 9:48 PM
> To: PHP General List
>
On Tuesday 30 April 2002 09:49, Shane wrote:
> Greetings folks. I'm looking for a solution to make thumbnails from my
> binary files inside my mySQL DB.
>
> Can anyone give me some direction for options besides Image Magick?
Manual > Image functions
--
Jason Wong -> Gremlins Associates -> www.g
Hello Todd,
(TC == "Todd Cary") [EMAIL PROTECTED] uttered:
TC> If I do and all works fine -
TC> the 's "word wrap". But, when I do and
TC> , I get a horizontal scroll bar and the 's
TC> go off to the left.
Just leave out the width attribute for the tag. You probably
don't want to use fixe
On Sat, Jan 27, 2001 at 02:14:21PM -0800, Todd Cary wrote :
> What is the best way to display thumbnail photos and their titles with
> HTML/PHP? Table?
The html way would be to just include the photos with a small
WIDTH and HEIGHT attribute.
The php would be to read the file and use ImageCopyR
Hello Todd,
(TC == "Todd Cary") [EMAIL PROTECTED] coined:
TC> What is the best way to display thumbnail photos and their titles
TC> with HTML/PHP? Table?
Sure.. tables are good. Or you can display them in one long vertical
line.. or..
Explain what you mean. If you mean just what the sentence
18 matches
Mail list logo