mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2026-04-25 15:05:56 +03:00
[GH-ISSUE #34] Can't show pictures after uploading #27
Labels
No labels
Feature request
Feature request
bug
cant reproduce
enhancement
help wanted
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pictshare#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @seuplus on GitHub (Jun 21, 2017).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/34
Sir. I like pictshare very much. But I failed many times when I tried to install it on my VPS (CentOS 7 & LNMP). I can find the picture in
uploadfolder after I upload picture001.jpglike thisBut it can't show after finishing uploading. https://img.muzi.moe

Hope to get your helps. Thank you!
@geek-at commented on GitHub (Jun 21, 2017):
do you have the graphicslibrary php-gd installed?
@seuplus commented on GitHub (Jun 21, 2017):
yum install php-gdPackage php-gd-5.4.16-42.el7.x86_64 already installed and latest versionYes, Sir. I have had
php-gdinstalled on CentOS and added rewrite rules to nginx conf. But it didn't work.I tried to install pictshare in LAMP and it succeed showing pictures after
chmod -R 777 upload.PS:
Nginx: https://img.muzi.moe Apache: https://***.muzi.moe
And my
nginx conf:@geek-at commented on GitHub (Jun 21, 2017):
Okay it seems like you have a problem with your nginx configuration but it seems good to me
@geek-at commented on GitHub (Jun 21, 2017):
interestingly it only has a problem with .jpg files since https://img.muzi.moe/xx/xx works but https://img.muzi.moe/xx/xx.jpg doesn't
@seuplus commented on GitHub (Jun 21, 2017):
Thanks for your replies. Sir.
I'm not familiar with Nginx very much. So I'm intended to use pictshare on LAMP for the moment.