coldfusion thumbnail

来源:互联网 发布:阿里云邮箱如何添加 编辑:程序博客网 时间:2024/06/06 02:10
找了很多方法,开始的时候自己试着使用cfml调用java,没有成功,后来发现有coldfusion开源的image组件,里面的功能很全很强大,其实cf8已经有了cfimage的标签了,可是我 还是使用的cf7。。。 coldfusion7 thumbnail
  • 下载imagecfc:http://www.opensourcecf.com/imagecfc/download.cfm
  • 调用方法:<cfset resize150 = imageCFC.resize("", "/Images/image.jpg", "/Images/image_thumb", 150, 0)>
  • 调用方法参考:http://www.opensourcecf.com/forums/messages.cfm?threadid=7192940B-EF86-07F9-FC46621DFB000EF3,另外imagecfc包里的doc里有相关例子
  • 其他相关网址:http://www.opensourcecf.com/forums/messages.cfm?threadid=7BB89189-C20F-DC73-A553DC9F56F3BD66
coldfusion8 thumbnail
  • 使用cfimage:<cfimage action="info" structname="imagetemp" source="#expandPath('Ferrari.jpg')#" /><cfset x=min(150/imagetemp.width, 113/imagetemp.height)/><cfset newwidth = x*imagetemp.width /><cfset newheight = x*imagetemp.height /><cfimage action="resize" source="#expandPath('Ferrari.jpg')#" width="#newwidth#" height="#newheight#" destination="#expandPath('FerrariThumb.jpg')#" overwrite="true" />
  • 下载例子:http://learncf.com/zip/19
  • 网址:http://tutorial19.learncf.com/
其他我找过的相关cf thumbnail的网址:
  • http://www.adobe.com/devnet/coldfusion/articles/jai_images.html
  • http://www.chestysoft.co.uk/coldfusion/imagefile/thumbnails.cfm
  • http://topic.csdn.net/t/20060615/15/4823591.html
  • http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java5.htm
  • http://www.systemanage.com/cff/cf_java_cfobject_faq.cfm
强大的RIAForge opensource on adobe
  • RIAForge:http://www.riaforge.org/
  • http://www.opensourcecf.com/
  • http://www.opensourcecf.com/imagecfc/index.cfm