uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
sigmaerp.codeskitter.site
/
app
/
Services
/
ImageService.php
/
/
<?php namespace App\Services; use Illuminate\Support\Facades\Storage; use Spatie\Image\Image; class ImageService{ public function resizeImage($originalPath, $width, $height) { // Generate temporary file path $random = rand(); $tempFilePath = Storage::disk('public')->path('images/items/thumbnail/'.$random.'.png'); // Load the image $image = Image::load(Storage::disk('public')->path($originalPath)); // Resize and save to temporary file $image->width($width)->height($height)->save($tempFilePath); // Create data URI from temporary file $imageContent = file_get_contents($tempFilePath); $dataUri = 'data:' . mime_content_type($tempFilePath) . ';base64,' . base64_encode($imageContent); // Remove temporary file unlink($tempFilePath); return $dataUri; } }
/home/users/unlimited/www/sigmaerp.codeskitter.site/app/Services/ImageService.php