is there any code or function out there that gives you a thumbnail of an
image in the size and compression means you specify?? ive been looking, but
found nothing, youd think thered be a function
--
**
Free Nokia Ringtones US
http://www.ring-tones.us
***
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
>
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
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
--Joe
--
Joe Stump <[EMAIL PROTECTED]>
http://www.joestump.net
"Label makers are proof God wants Sys Admins to be happy."
-Original Message-
From: Edward Peloke [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 7:54 AM
To: [EMAIL PROTECTED] Php. Net
Subject: [PHP] thumbnails
Ok,
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 to
Greetings, I just started playing with the GD functions. (FUN!!!) And I am looking for
advice or scripts on how to turn binary data from my DB into thumbnails.
I understand how to make thumbnails from existing images already "sitting in a
directory," but how can I get a scaled image to be made
Hey John Holmes,
Got your email on:Monday, June 10, 2002, 5:10:54 PM writing:
:
JH> Why reinvent the wheel?
to learn how to do stuff...knowleadge
JH> http://gallery.jacko.com/modules.php?op=modload&name=News&file=index
JH> or...
JH> http://gallery.sourceforge.net
JH> ---John Holmes...
To: PHP General List
> Subject: [PHP] Thumbnails
>
> Hey PHP General List,
>
> i am doin thing that uploads picture on the server(windows in my
> comp.) and if anybody can point me how to do fast thumbnails and
> when clicking on them it shows full size picture. I want t
Hey PHP General List,
i am doin thing that uploads picture on the server(windows in my
comp.) and if anybody can point me how to do fast thumbnails and
when clicking on them it shows full size picture. I want to do it
with one file. not cuting new one.
And one more question. Can anybod
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
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?
TIA
- NorthBayShane
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
What is the best way to display thumbnail photos and their titles with
HTML/PHP? Table?
If I do and all works fine - the
's "word wrap". But, when I do and , I get a horizontal scroll bar and the 's go off to
the left.
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General
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
What is the best way to display thumbnail photos and their titles with
HTML/PHP? Table?
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To con
27 matches
Mail list logo