Skip to content

Image uploads - autogenerate thumbnail(s)? #1703

Answered by tabuna
wsdnathan asked this question in Q&A
Discussion options

You must be logged in to vote

Image requirements may vary. In addition, you do not always need to have several copies of the same image on your hard disk all the time. Try doing them dynamically, for example, https://github.com/Intervention/imagecache

You can define a static route and required formats. Then their creation and modification will be more effective:

https://github.com/Intervention/imagecache/blob/e714f13298ecaf9b2d11cb7106a0415d5615cbe5/src/config/config.php#L5-L71

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wsdnathan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants