子の仮登録のプロフィール画像を登録すると、横向きに反転する。
このコミットが含まれているのは:
コミット
4399db26da
|
@ -162,6 +162,7 @@ class ChildrenController extends Controller {
|
|||
|
||||
$quality = 1;
|
||||
$img = Image::make('/work/storage/app/private/'.$filename)->encode('jpg', $quality);
|
||||
$img->orientate();
|
||||
$img->save('/work/storage/app/private/'.$filename);
|
||||
}
|
||||
|
||||
|
@ -421,6 +422,7 @@ class ChildrenController extends Controller {
|
|||
|
||||
$quality = 1;
|
||||
$img = Image::make('/work/storage/app/private/'.$filename)->encode('jpg', $quality);
|
||||
$img->orientate();
|
||||
$img->save('/work/storage/app/private/'.$filename);
|
||||
|
||||
$child = Child::find((int)$child_id);
|
||||
|
|
|
@ -183,6 +183,7 @@ class FathersController extends Controller {
|
|||
|
||||
$quality = 1;
|
||||
$img = Image::make('/work/storage/app/private/'.$filename)->encode('jpg', $quality);
|
||||
$img->orientate();
|
||||
$img->save('/work/storage/app/private/'.$filename);
|
||||
}
|
||||
|
||||
|
@ -356,6 +357,7 @@ class FathersController extends Controller {
|
|||
|
||||
$quality = 1;
|
||||
$img = Image::make('/work/storage/app/private/'.$filename)->encode('jpg', $quality);
|
||||
$img->orientate();
|
||||
$img->save('/work/storage/app/private/'.$filename);
|
||||
|
||||
$father = Father::find((int)$father_id);
|
||||
|
|
|
@ -54,6 +54,7 @@ class MeetingImagesController extends Controller {
|
|||
Storage::disk('private')->put($filename, $image);
|
||||
$quality = 1;
|
||||
$imag = Image::make('/work/storage/app/private/'.$filename)->encode('jpg', $quality);
|
||||
$img->orientate();
|
||||
$imag->save('/work/storage/app/private/'.$filename);
|
||||
|
||||
$insert = [
|
||||
|
|
|
@ -123,6 +123,7 @@ class MeetingsController extends Controller {
|
|||
Storage::disk('private')->put($fname, $image);
|
||||
$quality = 1;
|
||||
$imag = Image::make('/work/storage/app/private/'.$fname)->encode('jpg', $quality);
|
||||
$img->orientate();
|
||||
$imag->save('/work/storage/app/private/'.$fname);
|
||||
|
||||
$imgname = '/files/'.$fname;
|
||||
|
|
|
@ -28,7 +28,7 @@ RUN apt-get update && \
|
|||
rm -rf *.deb && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
docker-php-ext-configure gd --with-jpeg && \
|
||||
docker-php-ext-install intl pdo_mysql zip bcmath gd
|
||||
docker-php-ext-install -j$(nproc) intl pdo_mysql zip bcmath gd exif
|
||||
|
||||
COPY ./php.ini /usr/local/etc/php/php.ini
|
||||
|
||||
|
|
新しいイシューから参照