UBB.Dev
I had someone upload their picture in .jpg format and the width and height was set to 0 in the database.

I uploaded a .gif picture and the width and height sizes were set correctly.

I'm going to create a .png image and see what happens with that too. I'll also convert the .gif to a .jpg for a second test. Will post what I find. []/forum/images/icons/smile.gif[/]
Thanks Dave. Maybe need to tweak it a bit so if records as 0 then it defaults to the sizes in the config.
My host is reachable so I'll take a look at why this may be happening. []/forum/images/icons/wink.gif[/] Will let you know what I find.

Sounds like a good idea about defaulting to a specific size if width/height = 0 too. []/forum/images/icons/smile.gif[/]
© UBB.Developers