Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Imges don't get resized if imagick not present/working #165

Closed
ezek1el opened this issue Jan 5, 2019 · 3 comments
Closed

Imges don't get resized if imagick not present/working #165

ezek1el opened this issue Jan 5, 2019 · 3 comments
Labels
Duplicate This will not be worked on
Milestone

Comments

@ezek1el
Copy link

ezek1el commented Jan 5, 2019

Detailed description of the problem

Uploading photos bigger than 1080p do not show while browsing, the full image shown via "show full picture" appears just fine. Uploading photos with a size of 1920x1080 works as intended. Thumbnails are working too.

The folders /data and /uploads have the right permissions (0755)

the folders /uploads/small and /uploads/medium only contains one file; index.html

Steps to reproduce the issue

Upload photos bigger than 1080p

Output of the diagnostics (Settings => Diagnostics)

Lychee Version (json): 3.2.8
DB Version: update_030208
System: Linux
PHP Version: 7.2
MySQL Version: 50637
Imagick: -
Imagick Active: 0
Imagick Version: -
GD Version: bundled (2.1.0 compatible)
Plugins:

Log output;
... - notice - Lychee\Modules\Photo::add (242) - Skipped adjustment of photo (20181117_220142

Browser and system

Firefox 64 - Windows 10

@ildyria
Copy link
Member

ildyria commented Jan 6, 2019

How are you installing Lychee ? Are you using the Releases or directly git ?

On the first case, you will have to wait for the next release. On the second case, are you up to date
(I mean with the github master version).
Just to be sure please do:

cd /your/Lychee/folder
git pull origin master

The reason why I ask that is because the very same issue ( LycheeOrg/Lychee#148) has already been solved with PR LycheeOrg/Lychee#158

@ezek1el
Copy link
Author

ezek1el commented Jan 6, 2019

I use the Releases. Unfortunately i only have ftp access and no way to use git directly.

@ildyria
Copy link
Member

ildyria commented Jan 6, 2019

Then it is easy to fix.
Download this file: https://raw.githubusercontent.com/LycheeOrg/Lychee/master/php/Modules/Photo.php
(click on the link to open and then save as Photo.php)
and using ftp, replace the file .../Lychee/php/Modules/Photo.php by the one you just downloaded.

This should fix your problem. 👍

After that, you might want to have a look at:
https://github.com/LycheeOrg/Lychee/issues/134 to generate the missing small images.

I will write a script that generate missing medium images or @d7415 can point you to the appropriate plugin.

@ildyria ildyria closed this as completed Jan 6, 2019
@ildyria ildyria added the Duplicate This will not be worked on label Jan 6, 2019
@ildyria ildyria added this to the v3.2.9 milestone Jan 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants