PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.

#1 2004-06-26 11:07:33

Crissipos
Guest

Pictures autmatically resized

Is there anyone that has a code where the images are automatically resized if they are too big?

And if you click on the image, it opens on their real size.

Thanks

 

#2 2004-07-03 19:39:57

Jansson
Former Administrator
From: Sweden
Registered: 2005-04-24
Posts: 431
Website

Re: Pictures autmatically resized

Do you want to resize them with the GD library or just show them small?


// Jansson

PunRes developer | Blog
Winbas Affärssystem

Offline

 

#3 2004-07-21 20:59:29

Crissipos
Guest

Re: Pictures autmatically resized

What's GD Library? :)

 

#4 2004-07-21 21:55:24

Jansson
Former Administrator
From: Sweden
Registered: 2005-04-24
Posts: 431
Website

Re: Pictures autmatically resized

It's a library that is used to manipulate pictures in php. It's bundled with php5


// Jansson

PunRes developer | Blog
Winbas Affärssystem

Offline

 

#5 2004-07-23 12:57:01

Rod
New member
Registered: 2004-07-19
Posts: 2

Re: Pictures autmatically resized

It would be cool in this case ...
1. To crop automatically a picture if someone enters a big pic for avatar (with GD or better, like Image Magik)
2. To do the same thing with attachment mod :)

Offline

 

#6 2004-09-13 06:16:23

zcold
New member
Registered: 2004-09-08
Posts: 6

Re: Pictures autmatically resized

demading bunch arnt they....

If your looking for worrking with images using the GD library I suggest checking out this site, has a lot of great tutorials from the site and users for PHP...

www.phpfreaks.com

specifically you may want to check this one out

Creating Thumnails using GD Library
http://www.phpfreaks.com/tutorials/111/0.php

But coming from your response

Crissipos wrote:

What's GD Library? :)

you may want to check out this tutorial first

GD Library
http://www.phpfreaks.com/tutorials/105/0.php

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.