class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
Using image_ratio_no_zoom_in should be doing what you want. If the image's width is smaller than 200px, then the image will not be resized. Isn't it what you want?
What are the dimension of the images that you are uploading? If it doesn't do what you want, can you copy here the log produced by the class?Reply
What are the dimension of the images that you are uploading? If it doesn't do what you want, can you copy here the log produced by the class?