Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试为在 DAM 中上传图像资产的最大分辨率设置一个限制。我知道我们可以设置上传资产的最大尺寸,但我想知道如何设置特定的最高分辨率。
我能想到的唯一解决方案是在运行DAM 更新资产工作流时可以使用 ImageHelper来检查图像尺寸,在这种情况下,在检查尺寸后,如果资产高于尺寸,我们可以删除它。但是,通过此过程,图像已首先上传到 AEM,然后我们将其删除 DAM 更新资产工作流程。
对于我应该如何处理这个问题,我们将不胜感激。
为此,您必须获取实际图像的最大宽度和高度,并且很可能您必须处理输入流并使用自定义服务渲染分辨率。
谢谢阿布舍克
I'd like to combine the results of a LINQ join between a DataTable and a List.
This works just fine:
var lpYear = ( from a in _ds.Tables[0].AsEnumerable()