Remove image resize from header upload - accept as-is
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
b2b54e123f
commit
a089b89e17
1 changed files with 1 additions and 4 deletions
|
|
@ -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">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue