Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - New addition, resize images
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

New addition, resize images

 Post Reply Post Reply Page  12>
Author
bramseltje View Drop Down
Newbie
Newbie
Avatar

Joined: 11 March 2003
Location: Netherlands
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote bramseltje Quote  Post ReplyReply Direct Link To This Post Topic: New addition, resize images
    Posted: 11 March 2003 at 8:28am
Well, since I am not able to post in the skins and mods forum, I will have to place it here.

Because of the need there was on my site, I tried to develop something to resize images easily. The way I wanted to be able to do this is by using the [ img] tags, but they have no way of adding the size of an image. So I added the [img=height,width] tags to my forum to be able to do this [=D>]

If there is any interest, I will try to create a usable update to the forum. The version I wrote this for is version 6.34 by the way, but I guess the way v7 uses the format_post and edit_post include files is pretty much the same, so it probably van be use with that one too.

If anyone is willing to test it, just email me...

As it stands now, I do have the files isolated that need to be updated (just 2 of them) so if anyone wants to be able to give their users this extra feature, just leave a message here...

Right now I'm gonna test it with version 7, so expect an update within the hour...

Edited by bramseltje
Back to Top
bramseltje View Drop Down
Newbie
Newbie
Avatar

Joined: 11 March 2003
Location: Netherlands
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote bramseltje Quote  Post ReplyReply Direct Link To This Post Posted: 11 March 2003 at 12:35pm
Update!
I have also managed to implement this feature in v7.beta3!

It is not as similar to the old version I hoped, so it took quite some time to actualy find out how it would work...

But it's done, so if anyone is interested (if I see how many reactions I've had, I dare doubt it...) you're welcome to drop a line...

Edited by bramseltje
Back to Top
jack View Drop Down
Newbie
Newbie
Avatar

Joined: 17 April 2003
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote jack Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2003 at 1:02pm
Can you tell me where the image tag is generated for the actual post area? I am trying to add some code to call javascript functions to the image tags, but cant seem to find the exact place that they are generated. I tried a few files, with no luck.

-jack
Back to Top
jack View Drop Down
Newbie
Newbie
Avatar

Joined: 17 April 2003
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote jack Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2003 at 1:16pm
version 7.4
Back to Top
jack View Drop Down
Newbie
Newbie
Avatar

Joined: 17 April 2003
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote jack Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2003 at 2:05pm
need to make the image tag look like this

<img src="." onLoad="Resize(var, xx, yy)">
Back to Top
Dergal View Drop Down
Groupie
Groupie


Joined: 21 January 2002
Location: United Kingdom
Status: Offline
Points: 67
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dergal Quote  Post ReplyReply Direct Link To This Post Posted: 18 April 2003 at 5:23am

Would be VERY cool to truly resize them, possibly using ASPjpeg, something that would make it upload a smaller image size for people who think that uploading a 300kb image file is a good idea...

</thoughts>

Gerry

Back to Top
jack View Drop Down
Newbie
Newbie
Avatar

Joined: 17 April 2003
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote jack Quote  Post ReplyReply Direct Link To This Post Posted: 18 April 2003 at 6:06am
if someone could help me find the image tags, i might be able to make "some" progress on this.
Back to Top
xeerex View Drop Down
Senior Member
Senior Member


Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
Post Options Post Options   Thanks (0) Thanks(0)   Quote xeerex Quote  Post ReplyReply Direct Link To This Post Posted: 18 April 2003 at 6:47pm

You can limit the file size of images in the admin, Dergal. If someone were to upload a 300KB image then the admin must have thought it a good idea.

Bram, I have a test forum on my home server that I'd be willing to try your mod. Why don't you post the mod as a zip file?

Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.