techker Posted September 29, 2013 Share Posted September 29, 2013 hey guys when i set the width i seem to be getting a distorded image... <?php echo (empty($info['Image_3'])? "<img src=/images/noimage.jpg >": "<img src=/admin/uploads/thumbs/". $info['Image_3'] ." border=0 width=200 >");?> Quote Link to comment Share on other sites More sharing options...
Ch0cu3r Posted September 29, 2013 Share Posted September 29, 2013 You're just scaling the image to that size. You're not modifying the image. When scaling distortion can happen. How is the original thumbnail created? And what dimensions are thumbnails. Quote Link to comment Share on other sites More sharing options...
Strychnine Posted October 9, 2013 Share Posted October 9, 2013 Ch0cu3r is correct, changing aspect ratio of an image in the code does not actually effect the image. Thus the more you increase the image size, the worse the quality. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.