tracker issue : CF-3852284

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] ER for: Support <cfpdf action="thumbnail" name="resultArray"

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 11/14/2014

Components: Document Management

Versions: 11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Currently <cfpdf action="thumbnail">:
1) supports writing thumbnails to disk (good)
2) doesn't support writing thumbnails to ram:///
3) doesn't support returning an array of CF image variables

This ER is to support #3: For action="thumbnail", cfpdf will return an array of CF image variables (instead of writing them to disk) if the name="" attribute is used.

Example (takes and displays screenshot in browser w/o disk I/O):

<cfhtmltopdf name="myPDF" source="http://www.google.com" />
<cfpdf action="thumbnail" name="resultArray" source="myPDF" format="png" scale="100" resolution="high" hires="yes" />
<cfimage action="writeToBrowser" source="#resultArray[1]#" format="png" />

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3852284

Reason:	BugVerified

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:

Attachments:

Comments:

B/c when we only want to display PDF thumbnails in browser, we shouldn't have to write them to disk first. Thanks!, -Aaron
Comment by External U.
10080 | November 15, 2014 02:47:01 AM GMT