Remove image resize from header upload - accept as-is

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
John Mizerek 2026-01-18 12:21:36 -08:00
parent b2b54e123f
commit a089b89e17

View file

@ -50,10 +50,7 @@ if (bizId LTE 0) {
<!--- Get image info ---> <!--- Get image info --->
<cfimage source="#headersDir#/#uploadResult.ServerFile#" action="info" structName="imageInfo"> <cfimage source="#headersDir#/#uploadResult.ServerFile#" action="info" structName="imageInfo">
<!--- Resize if needed (max 1200px width for headers) ---> <!--- No resize - accept image as-is --->
<cfif imageInfo.width GT 1200>
<cfimage action="resize" source="#headersDir#/#uploadResult.ServerFile#" width="1200" destination="#headersDir#/#uploadResult.ServerFile#" overwrite="true">
</cfif>
<!--- Delete old header if exists ---> <!--- Delete old header if exists --->
<cfquery name="qOldHeader" datasource="payfrit"> <cfquery name="qOldHeader" datasource="payfrit">