Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Help with an idea or if someone has allready done it...

Reply
Thread Tools

Help with an idea or if someone has allready done it...

 
 
News
Guest
Posts: n/a
 
      11-18-2003
I want to be able to create thumb nails automatically with pictures that are
uploaded to my site. I know you can define a size in pixels but this only
means that the whole picture still has to load up.

Any ideas?

The other thing I wanted to do was actually convert different file types to
a .jpg file.
I know this is in the relms of the impossible without feeding it through
software such as PS pro or Pshop but I thought maybe some one might have
come up with a fancy script in PHP most likely to do this.

Dy


 
Reply With Quote
 
 
 
 
Matthias Gutfeldt
Guest
Posts: n/a
 
      11-18-2003
News wrote:
> I want to be able to create thumb nails automatically with pictures that are
> uploaded to my site. I know you can define a size in pixels but this only
> means that the whole picture still has to load up.
>
> Any ideas?


Sure. Server-side image resizing. The results are more or less pretty,
of course; a server is no art critic.


> The other thing I wanted to do was actually convert different file types to
> a .jpg file.
> I know this is in the relms of the impossible without feeding it through
> software such as PS pro or Pshop but I thought maybe some one might have
> come up with a fancy script in PHP most likely to do this.


Doesn't need anything fancy, really. See <http://ch2.php.net/image> for
starters. There are plenty tutorials for simple image manipulation, too.


Matthias

 
Reply With Quote
 
 
 
 
Chris Morris
Guest
Posts: n/a
 
      11-18-2003
"News" <> writes:
> I want to be able to create thumb nails automatically with pictures that are
> uploaded to my site. I know you can define a size in pixels but this only
> means that the whole picture still has to load up.
>
> Any ideas?
>
> The other thing I wanted to do was actually convert different file types to
> a .jpg file.
> I know this is in the relms of the impossible without feeding it through
> software such as PS pro or Pshop but I thought maybe some one might have
> come up with a fancy script in PHP most likely to do this.


It can be done in PHP - don't have one handy right now but it's
definitely possible - try looking through the google archives of
comp.lang.php or alt.php. The alternative, depending on how much
control you have over the server, is to use something like
ImageMagick's mogrify tool, which will do the rescaling and format
conversion from the command line. (You could either run it using
exec() or CGI immediately, or use a database to schedule it from cron,
etc)

--
Chris
 
Reply With Quote
 
Sid Ismail
Guest
Posts: n/a
 
      11-18-2003
On Tue, 18 Nov 2003 16:15:13 -0000, "News" <> wrote:

: I want to be able to create thumb nails automatically with pictures that are
: uploaded to my site. I know you can define a size in pixels but this only
: means that the whole picture still has to load up.
:
: Any ideas?


Have a look athis new gem I found: "Freeview", from
http://www.freshdevices.com/

Free!!

I also have "Express Thumbnail Creator" but this new pgm looks great!

Sid

 
Reply With Quote
 
News
Guest
Posts: n/a
 
      11-18-2003
Thanks guys...
If you happen to bump into a script could you post it me



"Chris Morris" <> wrote in message
news:...
> "News" <> writes:
> > I want to be able to create thumb nails automatically with pictures that

are
> > uploaded to my site. I know you can define a size in pixels but this

only
> > means that the whole picture still has to load up.
> >
> > Any ideas?
> >
> > The other thing I wanted to do was actually convert different file types

to
> > a .jpg file.
> > I know this is in the relms of the impossible without feeding it through
> > software such as PS pro or Pshop but I thought maybe some one might have
> > come up with a fancy script in PHP most likely to do this.

>
> It can be done in PHP - don't have one handy right now but it's
> definitely possible - try looking through the google archives of
> comp.lang.php or alt.php. The alternative, depending on how much
> control you have over the server, is to use something like
> ImageMagick's mogrify tool, which will do the rescaling and format
> conversion from the command line. (You could either run it using
> exec() or CGI immediately, or use a database to schedule it from cron,
> etc)
>
> --
> Chris



 
Reply With Quote
 
Leif K-Brooks
Guest
Posts: n/a
 
      11-18-2003
News wrote:

> I want to be able to create thumb nails automatically with pictures that are
> uploaded to my site. I know you can define a size in pixels but this only
> means that the whole picture still has to load up.
>
> Any ideas?
>
> The other thing I wanted to do was actually convert different file types to
> a .jpg file.
> I know this is in the relms of the impossible without feeding it through
> software such as PS pro or Pshop but I thought maybe some one might have
> come up with a fancy script in PHP most likely to do this.


You're in luck, I just finished some PHP scripts to do exactly that. I
don't have any documentation yet, and I'm sure there are some bugs, but
you can play around with them if you like.

I haven't decided on a license yet, for now just tell anyone you give it
to the source code and tell them that I made it. Also, I'd like to see
any changes you make.

http://ecritters.biz/photoalbum.zip
 
Reply With Quote
 
News
Guest
Posts: n/a
 
      11-18-2003
Thanks a lot.

I will do so both when I pass it on and if I make any amendments to the
script.

Cheers

Dy

"Leif K-Brooks" <> wrote in message
news:NEsub.1157$...
> News wrote:
>
> > I want to be able to create thumb nails automatically with pictures that

are
> > uploaded to my site. I know you can define a size in pixels but this

only
> > means that the whole picture still has to load up.
> >
> > Any ideas?
> >
> > The other thing I wanted to do was actually convert different file types

to
> > a .jpg file.
> > I know this is in the relms of the impossible without feeding it through
> > software such as PS pro or Pshop but I thought maybe some one might have
> > come up with a fancy script in PHP most likely to do this.

>
> You're in luck, I just finished some PHP scripts to do exactly that. I
> don't have any documentation yet, and I'm sure there are some bugs, but
> you can play around with them if you like.
>
> I haven't decided on a license yet, for now just tell anyone you give it
> to the source code and tell them that I made it. Also, I'd like to see
> any changes you make.
>
> http://ecritters.biz/photoalbum.zip



 
Reply With Quote
 
dante
Guest
Posts: n/a
 
      11-20-2003

"News" <> wrote in message
news:%Irub.276$%...
> I want to be able to create thumb nails automatically with pictures that

are
> uploaded to my site. I know you can define a size in pixels but this only
> means that the whole picture still has to load up.
>
> Any ideas?
>
> The other thing I wanted to do was actually convert different file types

to
> a .jpg file.
> I know this is in the relms of the impossible without feeding it through
> software such as PS pro or Pshop but I thought maybe some one might have
> come up with a fancy script in PHP most likely to do this.
>
> Dy
>
>


http://www.imagemagick.org/




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no msn video: "webcam allready in use" Hans Renting Computer Support 2 09-07-2005 07:28 PM
event fired on allready selected radiobutton =?Utf-8?B?16nXntei15XXnyDXpC4=?= ASP .Net 5 07-13-2005 03:39 PM
x64 Powertoys (more info allready?) Juan Jansen Windows 64bit 2 06-22-2005 11:57 AM
Class allready exists error =?Utf-8?B?TWlybw==?= ASP .Net 1 01-28-2005 08:52 PM
Help Iss stoped running > restart says address is allready in use? Norman Fritag ASP .Net 2 02-18-2004 06:36 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57