Author Topic: attaching photos  (Read 165 times)

0 Members and 1 Guest are viewing this topic.

Offline Bob M

  • Full Member
  • **
  • Join Date: Apr 2014
  • Posts: 28
  • Location: Melbourne, Australia
attaching photos
« on: 23 Oct 2020 at 06:24 »
I'm having the same problem as Dad's Bike. The Forum doesn't seem to like my photos (copies attached) what can I do?

Offline Dave

  • Administrator
  • ****
  • Join Date: Mar 2004
  • Posts: 3682
  • Location: Australia
Re: attaching photos
« Reply #1 on: 23 Oct 2020 at 08:17 »
Bob,

Can you provide some more details please? eg

 - How many photos did you try to attach at one time?
 - Were they all a similar size to the two attached to this post? Or taken with the same Canon IXUS 500?
 - Are these two photos attached to this post exactly the same as those you tried to post elsewhere?
 - What do you mean by "...doesn't seem to like..."? Was it the same as Dad's bike "...error message saying failed security and to contact the administrator help" or something different?
 - Did you try again and get the same error situation? Or a different message?
 - Which browser are you using?
 - What sort of Internet connection do you have with TPG? If it's an NBN connection , what speed rating is it?

In the meantime, please send the photos via email to photos@douglasmotorcycles.net, tell us which post you would like them attached to, and we'll take care of it.

thanks, Dave


Offline Dave

  • Administrator
  • ****
  • Join Date: Mar 2004
  • Posts: 3682
  • Location: Australia
Re: attaching photos
« Reply #2 on: 24 Oct 2020 at 09:38 »
Bob,

Thanks for emailing the photos and all the information about what happened. I made a test post and the images attached OK.

So we have one occasion where attaching failed (your first attempt to post), and two occasions where attaching them was successful (yours and mine).

I looked through the forum source code and believe this may be the wording of the full error message that appeared.

Code: [Select]
'Your attachment has failed security checks and cannot be uploaded. Please consult the forum administrator.'
The two conditions that trigger that error message appear to be
   1. The attachment is not a file type that is allowed to be attached.
   2. The software wasn't able to reduce the image size from the original size, to the size displayed on the web page.

Clearly, number one doesn't apply because they were both JPEG images and they are definitely allowed.

So for some reason, sometimes, the software is not able to process the images and it spits out the 'security' error message above.

The programmers who wrote the code seem to have written their error message to apply to condition one.
Images that fail due to condition two, get the same error message even though it's not true.

So if anyone else encounters that same error message, the best thing is just to go ahead and post the text of your message where you want it, in the forum.
Then email the photos to photos@douglasmotorcycles.net and we'll add them to your post.
Also, be sure to include the title of your post in the email so we know where you want them to go.


There is a major new version of the forum software almost ready for release and we really hope the whole image handling process has had a complete overhaul.

Dave