上传时,肖像图像会水平翻转
Portrait images flip horizontal when uploaded
我有一个MVC引导页面,当我选择肖像照片时,他们水平翻转,我使用引导文件输入。
<div class="fileinput fileinput-new" data-provides="fileinput">
<div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">
<img src="/Content/images/noimage.gif" alt="No Image">
<!--<img data-src="holder.js/100%x100%" alt="...">-->
</div>
<div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;">
<img src="/content/postimages/medium/" />
<input type="hidden" name="existingFile-00000000-0000-0000-0000-000000000000" value="1" />
</div>
<div>
<span class="btn btn-default btn-file"><span class="fileinput-new">Select image</span><span class="fileinput-exists">Change</span><input type="file" name="file0"></span>
<a href="#" class="btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
</div>
</div>
要尝试页面并查看文件水平翻转,请选择一个肖像图像上传到本页:http://allthings.trade/poultry/incubators/newpost
我选择了一个肖像图像和它的显示发现,如果我试图提交表单,我被重定向到注册页面,所以我不能检查它。无论如何,这种问题90%来自你的后端,它与bootstrap或你的js无关。
相关文章:
- 通过点击按钮翻转缩略图
- IE中的CSS翻转动画:翻转的一面显示镜像内容
- 允许表单元格内容水平展开
- 如何在c3js动态图表上进行平滑(水平)转换
- 如何创建一个具有固定左右列和水平滚动的表
- 通过水平滚动将页眉固定到页面顶部
- 水平视差滚动从头开始-没有插件(jQuery)
- IE中的CSS翻转动画:翻转的一面显示镜像内容
- 具有Twitter引导程序的水平滚动表
- CSS3卡翻转动画,检测是否不支持
- 如何避免鼠标水平滚动选项卡面板溢出
- 使用CSS嵌入HTML中的水平居中jQuery
- 如何使用Jquery水平打印表中的数组元素,并在某个元素之后垂直打印
- CSS堆栈角度重复水平而非垂直
- 制作水平滑动段
- 卡片翻转动画InternetExplorer11
- 韦伯格尔纹理水平翻转
- HTML5画布阴影模糊和水平翻转
- 如何只翻转图像水平而不是画布
- 上传时,肖像图像会水平翻转