Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to make image be displayed automatically fit the container?

Hi:

The following is the vanilla default html code of css and js in many pages.I want to implement a feature in my code that makes the images can be displayed automatically fit the container.But I do not know which of the following codes should be used in my code and how to enable the feature.

Anybody can help?Thanks.

<link rel="stylesheet" type="text/css" href="/vanilla_2-0-18-8/applications/dashboard/design/style.css?v=2.0.18.8" media="all" /> <link rel="stylesheet" type="text/css" href="/vanilla_2-0-18-8/plugins/FileUpload/design/fileupload.css?v=1.5.2" media="all" /> <link rel="shortcut icon" href="/vanilla_2-0-18-8/themes/default/design/favicon.png" type="image/x-icon" /> <link rel="canonical" href="http://192.168.0.101/vanilla_2-0-18-8/discussion/15/test-attachment/p1" /> <script src="/vanilla_2-0-18-8/js/library/jquery.js?v=2.0.18.8" type="text/javascript"></script> <script src="/vanilla_2-0-18-8/js/library/jquery.livequery.js?v=2.0.18.8" type="text/javascript"></script> <script src="/vanilla_2-0-18-8/js/library/jquery.form.js?v=2.0.18.8" type="text/javascript"></script> <script src="/vanilla_2-0-18-8/js/library/jquery.popup.js?v=2.0.18.8" type="text/javascript"></script> <script src="/vanilla_2-0-18-8/js/library/jquery.gardenhandleajaxform.js?v=2.0.18.8" type="text/javascript"></script> <script src="/vanilla_2-0-18-8/js/global.js?v=2.0.18.8" type="text/javascript"></script> <script src="/vanilla_2-0-18-8/js/library/jquery.ui.packed.js?v=2.0.18.8" type="text/javascript"></script> <script src="/vanilla_2-0-18-8/js/library/jquery.autogrow.js?v=2.0.18.8" type="text/javascript"></script>

Comments

Sign In or Register to comment.