Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/Helpers/general.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use Carbon\Carbon;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Str;
use Intervention\Image\Laravel\Facades\Image;
use Intervention\Image\ImageManager;

define('SASARAN', serialize([
'1' => 'Penduduk',
Expand Down Expand Up @@ -194,7 +194,7 @@ function default_favicon($favicon)
$pathFavicon = public_path('favicons/'.$favicon);
if (! file_exists($pathFavicon)) {
$filePath = public_path('assets/img/opensid_logo.png');
Image::read($filePath)->resize(96, 96)->save($pathFavicon, quality: 100);
ImageManager::gd()->read($filePath)->resize(96, 96)->save($pathFavicon, quality: 100);
}
}
}
Expand Down
18 changes: 9 additions & 9 deletions app/Http/Controllers/Api/IdentitasController.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use App\Http\Transformers\IdentitasTransformer;
use App\Models\Identitas;
use Illuminate\Support\Facades\Storage;
use Intervention\Image\Laravel\Facades\Image;
use Intervention\Image\ImageManager;
use Symfony\Component\HttpFoundation\Response;

class IdentitasController extends Controller
Expand Down Expand Up @@ -67,7 +67,7 @@ public function upload(UploadImageRequest $request, $id)
$filename = uniqid('img_');
$file = $request->file('file');

Image::read($file->path())->scale(width: 150, height: 150)->save($path.'/'.$filename.'.png'); //create logo
ImageManager::gd()->read($file->path())->scale(width: 150, height: 150)->save($path.'/'.$filename.'.png'); //create logo

Identitas::where('id', $id)->update([
'logo' => $filename.'.png',
Expand Down Expand Up @@ -120,13 +120,13 @@ private function generateFaviconsFromImagePath($filePath, $distPath)
// create an image manager instance with imagick driver
// Image::configure(['driver' => 'imagick']);

Image::read($filePath)->resize(192, 192)->save($distPath.'/android-chrome-192x192.png', quality: 100);
Image::read($filePath)->resize(512, 512)->save($distPath.'/android-chrome-512x512.png', quality: 100);
Image::read($filePath)->resize(180, 180)->save($distPath.'/apple-touch-icon.png', quality: 100);
Image::read($filePath)->resize(16, 16)->save($distPath.'/favicon-16x16.png', quality: 100);
Image::read($filePath)->resize(32, 32)->save($distPath.'/favicon-32x32.png', quality: 100);
Image::read($filePath)->resize(96, 96)->save($distPath.'/favicon-96x96.png', quality: 100);
Image::read($filePath)->resize(150, 150)->save($distPath.'/mstile-150x150.png', quality: 100);
ImageManager::gd()->read($filePath)->resize(192, 192)->save($distPath.'/android-chrome-192x192.png', quality: 100);
ImageManager::gd()->read($filePath)->resize(512, 512)->save($distPath.'/android-chrome-512x512.png', quality: 100);
ImageManager::gd()->read($filePath)->resize(180, 180)->save($distPath.'/apple-touch-icon.png', quality: 100);
ImageManager::gd()->read($filePath)->resize(16, 16)->save($distPath.'/favicon-16x16.png', quality: 100);
ImageManager::gd()->read($filePath)->resize(32, 32)->save($distPath.'/favicon-32x32.png', quality: 100);
ImageManager::gd()->read($filePath)->resize(96, 96)->save($distPath.'/favicon-96x96.png', quality: 100);
ImageManager::gd()->read($filePath)->resize(150, 150)->save($distPath.'/mstile-150x150.png', quality: 100);
copy($distPath.'/favicon-16x16.png', $distPath.'/favicon.ico');

$dataManifest = [
Expand Down
2 changes: 2 additions & 0 deletions catatan_rilis.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Di rilis ini, versi 2608.0.1 berisi penambahan dan perbaikan yang diminta penggu

1. [#1105](https://github.com/OpenSID/OpenKab/issues/1105) Perbaikan filter kecamatan tampil tanpa memilih kabupaten terlebih dahulu.
2. [#1108](https://github.com/OpenSID/OpenKab/issues/1108) Perbaiki filter tahun dan desa masih ada yang kurang di data sandang.
3. [#1111](https://github.com/OpenSID/OpenKab/issues/1111) Perbaiki style pada halaman slide tertutupi card icon penduduk.



#### Perubahan Teknis
Expand Down
99 changes: 13 additions & 86 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/web/css/openkab.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ button.btn-dark {
position: relative;
z-index: 2;
margin: 0 auto;
margin-top: -143px;
/*margin-top: -143px;*/
margin-bottom: 20px;
}

Expand Down