Image width
My custom theme has a fixed width, so when people upload images that are wider than that (750px including padding/margin), it breaks the page.
At first I edited \lib\tiki-js.js so it resizes EVERY image to 700px width, but I realize that's a bad idea, because of images that are smaller (especially those that are really thin and long height-wise).
So is there a way to fix the width only for images that are greater than 700px in width (that doesn't require people to manually check the width of their images every time they upload a picture and then edit it using an image editor)? Preferably a way where I only have to edit .tpl files and not .php?
Thanks a lot,