Level 43
Nov 16, 2020
3
Level 10
Stored Image is different to TempUrl and OriginalUrl
I upload an image with livewire. i can store the temporary url and the original filename in a shopping cart.
But when i store the image with the $upload->store('public') it's stored with a different filename. where can i get this filename.
originalname: image.png
temporaryUrl: TXqj9IiiribMnbskOepraVnzL9lCmM-metaQmlsZHNjaGlybWZvdG8gMjAyMC0xMS0xNiB1bSAxMy4zNC4wMy5wbmc=-.png
saved: Q19nCDe5rYgRZib3hAqDZmdz1U1GgF1ejteNK17Y.png
$this->upload->store('public');
Level 10
$this->upload>hashName()
gives me the correct result!
Please or to participate in this conversation.