Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: Avatar Upload & Dynamic Proportionizing
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

ferrarihead
Starting Member

Canada
41 Posts

Posted - 06 December 2001 :  00:29:48  Show Profile  Visit ferrarihead's Homepage  Send ferrarihead an ICQ Message
ok i did not install those mods

all the files are uploaded but when i go to mod setup, i see nothing...

so i went to forums/mods/uploade_avatar_engine.asp and i get this error:

Active Server Pages error 'ASP 0126'

Include file not found

/bbs/mods/upload_avatar_engine.asp, line 43

The include file '../include/clsUpload.inc' was not found.

i have installed other mods so i dont understant why the problems with this one>>>

ferrarihead


Go to Top of Page

ferrarihead
Starting Member

Canada
41 Posts

Posted - 06 December 2001 :  10:21:06  Show Profile  Visit ferrarihead's Homepage  Send ferrarihead an ICQ Message
im still having problems with these mods....
i cant seem to install them, all the files are uploaded but when i go to mod setup its empty.....

help please

ferrarihead

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 06 December 2001 :  11:05:34  Show Profile  Visit dayve's Homepage
quote:

im still having problems with these mods....
i cant seem to install them, all the files are uploaded but when i go to mod setup its empty.....

help please

ferrarihead




sounds like you are having problems installing either the avatar mod or the upload mod, please post your questions for help on those in the Mod Implementation area...sorry.

____________
dayve
http://forum.nineinchnailz.com
Go to Top of Page

Azaniah
Senior Member

United Kingdom
1004 Posts

Posted - 07 December 2001 :  06:15:51  Show Profile  Visit Azaniah's Homepage
Dayve,

Mind if I steal your proportional sizing for another mod?

(kinda too late - but I thought I'd ask )

Cheers Azaniah


-------
Eagles fly!, but weasels don't get sucked into jet engines.
Go to Top of Page

Azaniah
Senior Member

United Kingdom
1004 Posts

Posted - 07 December 2001 :  06:44:46  Show Profile  Visit Azaniah's Homepage
Dayve,

Certain jpg files do not show up using this method.

Looking at the files in text ones that show up have this

˙Ř˙ŕ

Ones that do not have this..

˙Ř˙á+Exif

So I'm guessing that the 4th character means something different in jpg terms.

Is it just a case of adding some logic (somewhere) to account for this different character?

Thanks Az

-------
Eagles fly!, but weasels don't get sucked into jet engines.

Edited by - azaniah on 07 December 2001 06:57:57
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 07 December 2001 :  11:38:36  Show Profile  Visit dayve's Homepage
Azaniah: you completely lost me.. please post a jpg here that doesn't work because I'd be quite interested. thanks.

and by the way, I came up with a client side version of proportioning that uses the DOM which I am thinking of incoporating with member images that are urls. here is an example with code (a lot shorter):

http://www.hafresno.org/development/imgSize.htm

____________
dayve
http://forum.nineinchnailz.com


Edited by - dayve on 07 December 2001 11:41:29
Go to Top of Page

Azaniah
Senior Member

United Kingdom
1004 Posts

Posted - 07 December 2001 :  12:03:54  Show Profile  Visit Azaniah's Homepage
Dayve,

I've emailed you a couple of jpg's to demonstrate the problem. (yes my cat IS called dog - it's not my cat actually - my housemates - anywho)...

I hope this makes the point clear

Cheers Az

-------
Eagles fly!, but weasels don't get sucked into jet engines.
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 07 December 2001 :  13:39:06  Show Profile  Visit dayve's Homepage
wow, this was a unique experience and the only thing I can think of is it has some kind of digital signature or something. I tried tricking it by opening it in Corel PhotoPaint and exporting it to a jpg and even a gif and both failed. time to do some research on this but again this is unique. where did you get the beaker image from? this may help me investigate. thanks.

____________
dayve
http://forum.nineinchnailz.com
Go to Top of Page

Azaniah
Senior Member

United Kingdom
1004 Posts

Posted - 07 December 2001 :  13:41:51  Show Profile  Visit Azaniah's Homepage
So you know,

The dog one was from a digital camera, the beaker one was just of the net somewhere.

I did a quick shifty through some images here, most if not all the ones of the net are like beaker, all the actual photos are like dog...

ROFL - I hope that makes sense..

Cheers Az

-------
Eagles fly!, but weasels don't get sucked into jet engines.
Go to Top of Page

MDGamezz
Junior Member

USA
100 Posts

Posted - 08 December 2001 :  23:39:25  Show Profile  Send MDGamezz an AOL message  Send MDGamezz an ICQ Message
Dayve or others,
What would it require just to do the dynamic proportionizing of the avatars?
I'm using version 3.1sr4.

If possible I would like to stay away from the upload mod.

Thank You.


MDGamezz
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 08 December 2001 :  23:43:13  Show Profile  Visit dayve's Homepage
quote:

Dayve or others,
What would it require just to do the dynamic proportionizing of the avatars?
I'm using version 3.1sr4.

If possible I would like to stay away from the upload mod.

Thank You.


MDGamezz



I am thinking of using this as my baseline for client side avatar proportioning... it should work. this is the code I will start with:

http://www.hafresno.org/development/imgSize.htm

____________
dayve@burningsouls.com

Go to Top of Page

MDGamezz
Junior Member

USA
100 Posts

Posted - 08 December 2001 :  23:54:50  Show Profile  Send MDGamezz an AOL message  Send MDGamezz an ICQ Message
Looks good,
Just not quite sure how I would add such a feature to the forum code.

MDGamezz
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 09 December 2001 :  00:32:38  Show Profile  Visit dayve's Homepage
well, I'd like to spend a little time on it but right now I need to focus on my new forum upgrades since I am converting to 3.3 on a SQL2000 DB, but I will post it as soon as I am done. I prefer the server side more than the client side because you can still have members put in a faulty URL whereas the server side version allows members to upload the image on your server so that you will not have any broken avatar links.

____________
dayve@burningsouls.com

Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 09 December 2001 :  04:29:30  Show Profile
dayve, I have a question on this:
which is better
1. like what you have in your code, get and resize the width/height by fso everytime a avatar picture is loaded.
2. when upload the avatar to the db, store the resized width/height in two fields and retrieve them later together with the avatar name etc. (using this method it would be hard to change your width/height settings)

thanks.

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 09 December 2001 :  12:06:56  Show Profile  Visit dayve's Homepage
well good point. the only reason I get the value later is because I cannot get the file properties until it is save on my server so I would need to upload the image and then get the properties and then write the width and height to the table whereas right now I am saving the avatar, and then getting the properties later which is NOT stored in a database.

I don't know which would be faster but to be honest, it hasn't been an issue for my board but I would like to know what everyone thinks.

The client side one I am working on should prove to be faster because the sizing is taken care of on the local machine.. Thanks for an intriguing question.

____________
dayve@burningsouls.com

Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07