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? :'( 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. 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 Link to comment https://forums.phpfreaks.com/topic/30029-displaying-images-problem/#findComment-138089 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.