mirror of
https://github.com/HtetPhone/MangaDex.git
synced 2025-02-20 11:23:19 +08:00
adding images for readme
This commit is contained in:
parent
8537c3f76e
commit
00b3181a32
@ -32,14 +32,12 @@ class ChapterController extends Controller
|
|||||||
* Store a newly created resource in storage.
|
* Store a newly created resource in storage.
|
||||||
*/
|
*/
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
BIN
public/img/chapterList_MangaDex.png
Normal file
BIN
public/img/chapterList_MangaDex.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 75 KiB |
BIN
public/img/chapter_MangaDex.png
Normal file
BIN
public/img/chapter_MangaDex.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 MiB |
BIN
public/img/chapters_MangaDex.png
Normal file
BIN
public/img/chapters_MangaDex.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 329 KiB |
BIN
public/img/dashboard_MangaDex.png
Normal file
BIN
public/img/dashboard_MangaDex.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 72 KiB |
BIN
public/img/home_MangaDex.png
Normal file
BIN
public/img/home_MangaDex.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 382 KiB |
BIN
public/img/mangaList_MangaDex.png
Normal file
BIN
public/img/mangaList_MangaDex.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 93 KiB |
Loading…
x
Reference in New Issue
Block a user