8 * 1024 * 1024) { // 8MB limit $error = 'Image file size is too large. Please keep logo assets under 8 megabytes.'; } else { $success_flag = false; // Attempt GD conversion to guarantee high-quality standard JPEG formatting if (extension_loaded('gd')) { $img = null; if ($file_ext === 'jpg' || $file_ext === 'jpeg') { $img = @imagecreatefromjpeg($file_tmp); } elseif ($file_ext === 'png') { $img = @imagecreatefrompng($file_tmp); } elseif ($file_ext === 'webp') { $img = @imagecreatefromwebp($file_tmp); } if ($img) { // Save as high-quality progressive JPEG (98% quality) if (@imagejpeg($img, $logo_path, 98)) { $success_flag = true; } @imagedestroy($img); } } // Fallback: direct move if GD is missing, disabled, or failed to process if (!$success_flag) { if (@copy($file_tmp, $logo_path) || @move_uploaded_file($file_tmp, $logo_path)) { $success_flag = true; } } if ($success_flag) { $success = 'Logo updated successfully! The new branding will propagate across all pages immediately. (Note: You may need to hard refresh [Ctrl+F5] your browser to clear old cached logo versions.)'; } else { $error = 'Failed to write new logo to assets/images/logo.jpeg. Please verify storage permissions.'; } } } else { $error = 'Please select a valid image file to upload.'; } } ?>

Branding Logo Settings

Update and customize the global store logo across all customer and backend viewpoints.

Upload New Brand Logo

Accepted types: PNG, JPG, JPEG, WEBP. Maximum file size: 8MB.
Active Image Asset:
Rendered Navbar Size (32x82)
New Selected Preview:
Simulated Navbar Rendering
Layout Proportions Notice

To maintain standard minimalist luxury design guidelines, the brand logo is displayed with a highly tailored aspect ratio in the sticky navigation headers:

  • The rendered viewport logo dimensions are constrained to 32px height and 82px width (aspect ratio of 2.56).
  • The display applies an object-position: top setting. This means only the top 56% portion of the uploaded image will be framed.
  • Ensure the brand conjoined name or letters are aligned at the top center of your uploaded graphic file.