adding images for readme

This commit is contained in:
Htet Phone 2023-12-02 20:29:35 +06:30
parent 8537c3f76e
commit 00b3181a32
7 changed files with 2 additions and 4 deletions

View File

@ -33,13 +33,11 @@ class ChapterController extends Controller
*/ */
public function store(StoreChapterRequest $request) public function store(StoreChapterRequest $request)
{ {
// dd ($request->file('images'));
$formData = $request->validated(); $formData = $request->validated();
$formData['user_id'] = Auth::id(); $formData['user_id'] = Auth::id();
if ($request->hasFile('images')) { if ($request->hasFile('images')) {
foreach ($request->file('images') as $key => $image) { foreach ($request->file('images') as $key => $image) {
$images[] = $image->store($request->manga_id . 'ChapterImages', 'public'); $images[] = $image->store($request->manga_id . 'mangaChapterImages', 'public');
} }
$formData['images'] = $images; $formData['images'] = $images;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB