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

Thumbnail for image with jpeg extension not take into account #128

Open
jerrywham opened this issue May 24, 2019 · 0 comments
Open

Thumbnail for image with jpeg extension not take into account #128

jerrywham opened this issue May 24, 2019 · 0 comments

Comments

@jerrywham
Copy link

If extension for image is jpeg and not jpg, thumbnail is not display.
To fix this issue, you have to change the regex line 272 in index.php

if (preg_match("/.jpg$|.gif$|.png$/i", $file)) {
(...)

to

if (preg_match("/.jpe?g$|.gif$|.png$/i", $file)) {
(...)
memiks added a commit to memiks/MinigalNano that referenced this issue Nov 25, 2020
Thumbnail for image with jpeg extension not take into account
Correct issue sebsauvage#128
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

1 participant