#1 June 20, 2016 5:33pm

bshoemaker
Member
Registered: June 20, 2016
Posts: 5

Cover Photo Size Issue

All-
We're having an issue when selecting the cover photos for articles.

The image in question is stored on S3, and exceeds the minimum-size requirements

File Type jpg
Width 2000
Height 1333
Uploaded 1/21/16 @ 1:59pm


However, when I try to save, I get the following error:
Cover: Image uploaded (image.jpg) did not meet the minimum size of 1380x520 pixels.
Cover: An invalid file was uploaded. Valid file types: JPG, GIF, PNG.


We recently changed some file permissions, so I'm wondering if BigTree needs to be able to write to cache directories or something?
Is there some sort of integrity-check page that will verify everything is working as expected?


Thanks!
Ben Shoemaker

Offline

#2 June 20, 2016 5:46pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: Cover Photo Size Issue

BigTree does need to be able to write to /site/files/ to make a temporary copy of the S3-stored image for image dimension checking and cropping. I believe that this is one of the directories checked by the Site Status feature in the Developer section. If you use that it should tell you all the directories that it believes should be writable that aren't.

Offline

#3 June 20, 2016 7:15pm

bshoemaker
Member
Registered: June 20, 2016
Posts: 5

Re: Cover Photo Size Issue

That was precisely it.
Thanks so much!

-Ben

Offline

#4 June 21, 2016 9:37am

bshoemaker
Member
Registered: June 20, 2016
Posts: 5

Re: Cover Photo Size Issue

Hmm.

That allowed us to use the existing images that were in the Image Library, but we're still having trouble uploading new images.

The upload acts like it works correctly, but we end up with a broken image link in the Image Library.
Is there another cache directory I've missed, that isn't actually displayed in the site status?



Thanks!
Ben Shoemaker

Offline

#5 July 11, 2017 2:32pm

doon.mok
Member
Registered: May 6, 2015
Posts: 141

Re: Cover Photo Size Issue

Hello Ben,

Did you ever figure out this issue? We are having the same issue. There are write permissions for the /site/files/ folder and Site Status is all green. I also truncated  the bigtree_module_view_cache table.

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.