TimThumb Demo: Part 1 – Getting Started
This page showcases the demos for part 1 of the TimThumb primer. Getting Started with TimThumb
WordPress and Web Development › home of Ben Gillbanks
This page showcases the demos for part 1 of the TimThumb primer. Getting Started with TimThumb
1. |
timthumb.php?src=castle1.jpg Basic example with minimum parameters. Automatically resizes to 100 x 100 |
|
2. |
timthumb.php?src=castle1.jpg&q=100 High quality = awesome image |
|
3. |
timthumb.php?src=castle1.jpg&q=10 Low Quality = rubbish looking image |
|
4. |
timthumb.php?src=castle1.jpg&w=200 Specify the width only and the height will change to be relatively sized to keep the picture in proportion |
|
5. |
timthumb.php?src=castle1.jpg&h=150 Specify the height only and the width will change to be relatively sized to keep the picture in proportion |
|
6. |
timthumb.php?src=castle1.jpg&h=180&w=120 Width and Height together |
|
7. |
timthumb.php?src=castle1.jpg&h=80&w=210 Width and Height again, showing that any image ratio can be used |