Tormek Community Forum

In the Shop => General Tormek Questions => Topic started by: RickKrung on October 30, 2017, 05:26:48 AM

Title: Photo Upload Issue
Post by: RickKrung on October 30, 2017, 05:26:48 AM
I'm having trouble uploading photos in a reply.  Getting an error message that says the attachments didn't pass security checks.  Going to try it here on a new topic post. 

Rick
Title: Re: Photo Upload Issue
Post by: RickKrung on October 30, 2017, 05:37:11 AM
The image posted above is a screen shot of the error message, not the photos I'm having trouble with.  I tried posting them in a clean, new thread but had the same error message.  Why can I post a screen shot and not the photos?  Same image format. 

Rick
Title: Re: Photo Upload Issue
Post by: Ken S on October 30, 2017, 07:17:52 AM
I have alerted Tormek IT in Sweden.

Ken
Title: Re: Photo Upload Issue
Post by: cbwx34 on October 30, 2017, 03:00:18 PM
Make sure you're within the size limit restrictions of the forum, and if you are, you might try renaming the photo, and see if that solves it.
Title: Re: Photo Upload Issue
Post by: RickKrung on October 30, 2017, 04:32:23 PM
Quote from: cbwx34 on October 30, 2017, 03:00:18 PM
Make sure you're within the size limit restrictions of the forum, and if you are, you might try renaming the photo, and see if that solves it.

There are two photos.  Sizes: 121kb and 123kb.  The names were not terribly complex but I tried renaming them to "Photo 1" and Photo 2", but these were rejected also.  So, I am at a loss, as it seems they are within the size limit and names as simple as can be. 

I'll try them again now. 

Nope, same error. 

Rick
Title: Re: Photo Upload Issue
Post by: Ken S on October 30, 2017, 05:06:17 PM
Rick,

Frustrating!! I just uploaded a photo from my ipad. The ipad and the forum don't normally play nice with photos, however this one flew after I resized it. Sorry I can not offer any good advice.

Ken
Title: Re: Photo Upload Issue
Post by: cbwx34 on October 30, 2017, 05:10:41 PM
Sorry... I got this error once, I thought renaming it solved it.

Only other problem I've had is when I updated to iOS11.  It uses a new HEIC format, which wouldn't upload.  I had to convert it to a jpg.  (But I don't remember getting a security error with that).
Title: Re: Photo Upload Issue
Post by: RickKrung on October 30, 2017, 05:30:40 PM
Quote from: cbwx34 on October 30, 2017, 05:10:41 PM
Sorry... I got this error once, I thought renaming it solved it.

Only other problem I've had is when I updated to iOS11.  It uses a new HEIC format, which wouldn't upload.  I had to convert it to a jpg.  (But I don't remember getting a security error with that).

My photos were JPG to start with, and named quite simply: Photo 1 and Photo 2.  Tried posting from my iPad, but could not even post a reply, let alone photos.  I could swear I posted a photo before.  I've replied to a Tormek IT guy, asking to have the photos to examine.  Maybe that will get somewhere.

Thanks,

Rick
Title: Re: Photo Upload Issue
Post by: cbwx34 on October 30, 2017, 06:00:20 PM
I would say, send it to me and I'll try, but I'm not brave enough to download a photo you're getting a "security error" on.  :-\
Title: Re: Photo Upload Issue
Post by: RickKrung on November 05, 2017, 12:23:53 AM
I just learned something about how this forum monkey handles uploaded photos.  Whether the photo is landscape or portrait oriented, the monkey always, only displays them landscape.  So anything that is portrait is rotated 90 deg.  and displayed with the long edge horizontal. 

I posted a few minutes ago about sharpening a HSS lathe turning cutter and all were rotated.  I modified the post to delete the photos and re-upload a new set that had been cropped to be landscape oriented and they now look right. 

And I didn't have any issues uploading them as I had with others, even though they had been modified on my computer to resize them as well as re-oriented. 

Rick
Title: Re: Photo Upload Issue
Post by: Ken S on November 05, 2017, 11:24:29 AM
Rick,

I think there is more to this story. I have successfully loaded a few photos in vertical (portrait) mode.

Ken
Title: Re: Photo Upload Issue
Post by: cbwx34 on November 05, 2017, 02:30:45 PM
I'll 2nd what Ken said... I've loaded photos both ways, and never had the forum rotate them.

Title: Re: Photo Upload Issue
Post by: RickKrung on November 05, 2017, 10:16:43 PM
Guess I'm just lucky ;) 

Just posted another photo and the same thing happened.  Quickly removed it and replaced it with a modified image.

Rick

Title: Re: Photo Upload Issue
Post by: cbwx34 on November 06, 2017, 03:30:29 PM
I'll try and pay more attention... but in thinking about this, I have to adjust most pictures I take, since the file size is too large to post the original photo... so maybe that's why I don't see it.

As a test you could take a photo that is being rotated in the forum, and try uploading it somewhere else (even email it to yourself), to see if it rotates in that instance too.
Title: Re: Photo Upload Issue
Post by: brettgrant99 on November 06, 2017, 05:14:52 PM
I have noticed this issue with some of the other boards that I am on.  It didn't really show up until I started using my cell phone camera.  Never had the issue with my Canon camera.  I wonder if this is a toolchain issue.  What I mean is that I have a iPhone, iPad, and iMac.  The pictures are always oriented correctly.  It isn't until I move the photo over to a Windows or a Linux server that they are "rotated".  I suspect that Apple knows what all of their equipment is using (which settings, etc), but that it may not be consistent when moving to other platforms or service.

I am interested in a lot of different things, and was curious about it when I first noticed it.  There are quite a few different settings once you start using EXIF data.  I wonder what happens when you strip off all of the EXIF data.  Maybe now that it is getting cold and dark out, I will look into a little more.
Title: Re: Photo Upload Issue
Post by: RickKrung on November 06, 2017, 07:01:54 PM
Quote from: cbwx34 on November 06, 2017, 03:30:29 PM
I'll try and pay more attention... but in thinking about this, I have to adjust most pictures I take, since the file size is too large to post the original photo... so maybe that's why I don't see it.

As a test you could take a photo that is being rotated in the forum, and try uploading it somewhere else (even email it to yourself), to see if it rotates in that instance too.

Almost always, I modify photos to crop and resize to 640x480 (or 480x640) for posting.  Lately, as I have been using my iPhone for taking photos, I have sent them as smaller sizes, rather than previously sending full sized and then modify/reduce on the computer (Win 10). 

I've been uploading hundreds of photos to all sorts of forums, since 2000, and have never before run into this behavior, so, in effect the suggested "test" has already been conducted.  The Tormek forum monkey is the sole instance of said behavior.  It isn't a big deal.  I'll just watch any photos I post here and modify them when it happens, or modify them before posting so they are always landscape. 

Rick
Title: Re: Photo Upload Issue
Post by: RickKrung on November 06, 2017, 07:07:16 PM
Quote from: brettgrant99 on November 06, 2017, 05:14:52 PM
I have noticed this issue with some of the other boards that I am on.  It didn't really show up until I started using my cell phone camera.  Never had the issue with my Canon camera.  I wonder if this is a toolchain issue.  What I mean is that I have a iPhone, iPad, and iMac.  The pictures are always oriented correctly.  It isn't until I move the photo over to a Windows or a Linux server that they are "rotated".  I suspect that Apple knows what all of their equipment is using (which settings, etc), but that it may not be consistent when moving to other platforms or service.

I am interested in a lot of different things, and was curious about it when I first noticed it.  There are quite a few different settings once you start using EXIF data.  I wonder what happens when you strip off all of the EXIF data.  Maybe now that it is getting cold and dark out, I will look into a little more.

Curious.  I've never run into the rotation behavior and as I just posted, I've been posting tons of photos for 17 years, mostly all modified to crop and resize.  99% have been modified using ACDSee Photo Manager, but I do have PhotoShop available.  I've never heard of stripping the EXIF data.  How is that done?

Rick
Title: Re: Photo Upload Issue
Post by: cbwx34 on November 06, 2017, 07:30:26 PM
Just outta curiosity... when you crop a photo, do you crop both directions, or do you crop just one, and let the app maintain the ratio?  (I do the latter).

(I do love a mystery).
Title: Re: Photo Upload Issue
Post by: RickKrung on November 06, 2017, 07:45:40 PM
Quote from: cbwx34 on November 06, 2017, 07:30:26 PM
Just outta curiosity... when you crop a photo, do you crop both directions, or do you crop just one, and let the app maintain the ratio?  (I do the latter).

(I do love a mystery).

Depends on the subject and how it is framed.  I do not do the latter described above.  Pretty much always crop away non-informational or unwanted (messy bench showing in the corner, etc.) areas to focus on the subject and then resize to 640x480 or 480x640.  There have been instances where I was just lazy and didn't do either and just posted. 

Rick
Title: Re: Photo Upload Issue
Post by: cbwx34 on November 06, 2017, 08:20:19 PM
So, I did a search... maybe this will help?

Why your photos don't always appear correctly rotated (https://www.howtogeek.com/254830/why-your-photos-dont-always-appear-correctly-rotated/)
Title: Re: Photo Upload Issue
Post by: brettgrant99 on November 06, 2017, 08:38:38 PM
Quote from: RickKrung on November 06, 2017, 07:07:16 PM
Quote from: brettgrant99 on November 06, 2017, 05:14:52 PM
I have noticed this issue with some of the other boards that I am on.  It didn't really show up until I started using my cell phone camera.  Never had the issue with my Canon camera.  I wonder if this is a toolchain issue.  What I mean is that I have a iPhone, iPad, and iMac.  The pictures are always oriented correctly.  It isn't until I move the photo over to a Windows or a Linux server that they are "rotated".  I suspect that Apple knows what all of their equipment is using (which settings, etc), but that it may not be consistent when moving to other platforms or service.

I am interested in a lot of different things, and was curious about it when I first noticed it.  There are quite a few different settings once you start using EXIF data.  I wonder what happens when you strip off all of the EXIF data.  Maybe now that it is getting cold and dark out, I will look into a little more.

Curious.  I've never run into the rotation behavior and as I just posted, I've been posting tons of photos for 17 years, mostly all modified to crop and resize.  99% have been modified using ACDSee Photo Manager, but I do have PhotoShop available.  I've never heard of stripping the EXIF data.  How is that done?

Rick
I've been posting pictures since 2001, so pretty close to your 17 years.  I didn't notice the issue until earlier this year on a kite forum that I frequent.  What had changed for me was that I was using my iPhone and my windows7 computer rather than my old Canon digital camera.  Your search found a link that was similar to what I was trying to say.

I guess a question for Rick would be what type of camera/computer/OS combination is he using?

As for the EXIF data, well another search leads to: what is exif data and how to remove it (https://www.howtogeek.com/203592/what-is-exif-data-and-how-to-remove-it/)

Brett
Title: Re: Photo Upload Issue
Post by: RickKrung on November 06, 2017, 09:23:09 PM
Quote from: brettgrant99 on November 06, 2017, 08:38:38 PM

...snip...

I guess a question for Rick would be what type of camera/computer/OS combination is he using?

...snip...

Brett

Good info on the EXIF data.  I haven't looked to see if the photos that didn't orient correctly had something different there.

Almost all of the photos posted here have been taken with a 5SE iPhone iOS 11, emailed to my Win 10 PC and edited in ACDSee Photo Manager 12 where they are cropped usually and almost always resized to 640 maximum pixels on the longer side.  The digital camera that is sometimes used is a Ricoh WG-4 GPS 14 mega pixel.  Images are transferred to the PC from the memory card and the rest is the same.

Rick
Title: Re: Photo Upload Issue
Post by: RickKrung on November 07, 2017, 02:11:09 AM
Quote from: RickKrung on November 06, 2017, 09:23:09 PM
...snip...

Good info on the EXIF data.  I haven't looked to see if the photos that didn't orient correctly had something different there.

...snip...

I checked.  The Orientation property is either "Right Upper" for Portrait or "Upper Left" for Landscape (curious difference in syntax) and is not an editable field in the software I'm using. 

Also curious and likely the culprit, is that when I downsized the original, which was Portrait and the O field was Right Upper, the O field in the downsized image had changed to Upper Left - meaning it would be displayed in Landscape.  I did not change the orientation in the downsizing process, but apparently the software did.  I just repeated the process and got the same result. 

Adding to the curiousness, I just checked the EXIF Orientation field in original images taken with my Ricoh digital camera.  The wording is "Left Lower" for Portrait and "Upper Left" for Landscape.  I tried a resize on a portrait image to 480x640 and the O property changed from LL to UL.  Go figure. 

Rick