ted_chou12 Posted December 9, 2006 Share Posted December 9, 2006 I want to display an image, although i want to restrice to size (ie. the length and width) however, i dont want to set its width and length fixed. Is there any easy way to do that? :'( Quote Link to comment https://forums.phpfreaks.com/topic/30029-displaying-images-problem/ Share on other sites More sharing options...
AndyB Posted December 9, 2006 Share Posted December 9, 2006 [quote author=ted_chou12 link=topic=117970.msg481683#msg481683 date=1165675283].. i want to restrice to size (ie. the length and width) however, i dont want to set its width and length fixed.[/quote]Care to explain in more detail what you would like to happen. As posed, your question is likely to be interpreted differently by those who read it. Quote Link to comment https://forums.phpfreaks.com/topic/30029-displaying-images-problem/#findComment-138058 Share on other sites More sharing options...
ted_chou12 Posted December 9, 2006 Author Share Posted December 9, 2006 nvm actually, i solved it already, but previously i meant to restrict the length & width of the image, but i didn't want to set a fix figure to both, because it changes the aspect ratio of the orignal picture.So i tried limiting one, eg. the length, but not the width, and it works fine now. although the length is fixed, the width varies with the ratio of the picture. thats about it. thanks for mentioning :D Quote Link to comment https://forums.phpfreaks.com/topic/30029-displaying-images-problem/#findComment-138089 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.