-
Notifications
You must be signed in to change notification settings - Fork 244
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
Vertical Image Has an Horizontal Placeholder #1557
Comments
I suspect that the photo's width/height are off. Can you see what they are and verify accuracy? Can check by simply going to |
Not sure if I found what I was supposed to look for, so I share the picture with you https://danielepitrolo.trovebox.com/p/171/token-a311751128
|
This is a RAW and we're using exiftool to get dimensions. Here's what
Source for RAW support isn't merged yet but here's the command. private function getImageSizeFromRaw($photo)
{
if(!is_executable($this->config->modules->exiftool))
return getimagesize($photo);
$cmd = sprintf('%s %s | egrep %s | awk %s', $this->config->modules->exiftool, escapeshellarg($photo), escapeshellarg('^Image Size +:'), escapeshellarg('{print $4}'));
$size = trim(exec($cmd));
return explode('x', $size);
} FYI the API url would look like this with the token, https://danielepitrolo.trovebox.com/photo/171/token-a311751128/view.json |
Just letting you know that in #1400 my RAW was uploaded, here #1400 (comment) |
Posting here because it looks like it might be related: I also have a few RAW whos thumbnail is rectangular but displays a portion of the picture in horizontal. Those are picture that were horizontal and that I rotated. Here is the view.json for one of them:
|
Noticed with three pictures, taken with a Nikon D70
The text was updated successfully, but these errors were encountered: