Admin Site Admin
Joined: 19 Feb 2003 Posts: 1223 Location: Stafford, UK
|
Posted: Thu Mar 26, 2009 8:31 pm Post subject: Gallery Forum |
|
|
Hi
I have set this up as a gallery area. Replies are disabled, the idea is that you can just set up your own thread for your own images.
I have added an image upload option to the forum, so you can upload images. It is still very much an in progress idea but does work. From the forums drop down, main forum and then upload image. From that panel you can select the image you want to upload, click "uploadfiles" and away it goes.
It will allow gif, jpg and png files. There is a limit on file size (which might change). The files are renamed when uploaded to a random name on the server (to stop people overwriting each others images).
To get at the you would then use (for example) :-
http://www.alfa-pages.co.uk/uploadimagedisplay.php?imageid=73A9357XA1
You can use a lower quality version with:-
http://www.alfa-pages.co.uk/uploadimagedisplay.php?imageid=73A9357XA1&quality=25
(the quality is a number from 1 to 100, with 100 being the quality that was uploaded)
You can resize the image with:-
http://www.alfa-pages.co.uk/uploadimagedisplay.php?imageid=73A9357XA1&x_max=300&y_max=300
(it will keep the same ratio of sizes, resizing it to fit in a box as pig as the dimensions you specify).
If you want an image in a post in this area you would use something like:-
Code: |
[img]http://www.alfa-pages.co.uk/uploadimagedisplay.php?imageid=73A9357XA1&x_max=300&y_max=300[/img]
|
All the best
Keith _________________ I owe, I owe, its off to work we go.
Bimota Forum
Stafford Christmas Lights
|
|