Braunson's avatar

Storing uploaded images

Running Laravel 5.5 on Forge. This is current flow of an image upload

  1. Uploaded to server in a temporary directory (resources/uploads/tmp)
  2. Queue process images into multiple sizes (original, large, medium, small, thumb)
  3. Queue process then moves saves those new sizes and moves the original to (public/images/large, etc.)

In the future S3 or something similar for storage is probably recommended but for now it's a side project :)

Can anyone suggest a better method to managing and serving images in this case? I'm moving 12k images over pre-launch to be resized and re-saved but wanted to see if there's a better method to do this.

0 likes
1 reply

Please or to participate in this conversation.