Pages: [1]   Go Down
Author Topic: Updates to avasig...  (Read 300 times)
Sy
Administrator
Newbie
*****
Posts: 29


simon@acquire.demon.co.uk
simon.platten simon@acquire.demon.co.uk
View Profile WWW
« on: March 16, 2010, 09:07:56 PM »

I've added sub-folders to the uploader, this allows you to specify a sub-folder name to upload images into.

Your default signature is served up from the root of your hosted space, but if you want other sigs, avatars etc.  Then you can use the sub-folder to create these, each sub-folder can contain multiple images.

The URL to access the other areas is exactly the same, you just add the folder name to it...like so:

My default sig is served up using:

Code:
http://avasig.com/sigs/2009/Oct/Sy.jpg/
This contains a bunch of car images:


But I have another sig in the sub-folder:

Code:
tattoox240y320.jpg

Thats exactly how I entered it into the uploader sub-folder input area...

To access this I use:

Code:
http://avasig.com/sigs/2009/Oct/Sy.jpg/tattoox240y320.jpg
This one is various superhero logos:


If you are wondering why the x240y320, this allows you to specify the width and height of the images.  All images served from this folder will be resized to this size.  If you omit this syntax then the images will be sized according to your main settings.

You can also override the dimensions of the image by adding:

Code:
&width=xxx&height=xxxx

Where xxx is the number of pixels, if you only specify width, then the height is calculated using the correct aspect ratio, likewise if you specify height but omit the width then the width is calculated using the correct aspect ratio.

eg.
Code:
http://avasig.com/sigs/2009/Oct/Sy.jpg/tattoox240y320.jpg?width=100

Produces:
« Last Edit: March 16, 2010, 09:17:05 PM by Sy » Logged

Regards,
Sy

Pages: [1]   Go Up
Print
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Theme Kani By Fussilet