Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thumb issue #157

Open
M0H3N opened this issue Nov 5, 2016 · 2 comments
Open

thumb issue #157

M0H3N opened this issue Nov 5, 2016 · 2 comments

Comments

@M0H3N
Copy link

M0H3N commented Nov 5, 2016

Hi
when I upload image by this method :
$repo->uploads('file')->relativelyTo(base_path('public_html'));

the thumbs didn't work correctly
how to fix this issue ? Its very important for me to fix that ... please help me ....

@MohammadAzad
Copy link

hi do you using l5?
you have to use like: $repo->uploads('image')->to('path/from/public');

@M0H3N
Copy link
Author

M0H3N commented Nov 6, 2016

my folders strucure on host is :

A folder named laravel (contains all laravels folder and files except public)
A folder named public_html (contains all my public folders and files)

I used this function but not work yet :

 $repo->uploads('image')->to('../public_html/assets/images/posts');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants