oschwarzenberg's avatar

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');
0 likes
3 replies
oschwarzenberg's avatar
oschwarzenberg
OP
Best Answer
Level 10
$this->upload>hashName()

gives me the correct result!

Please or to participate in this conversation.