Author Topic: Problem uploading images to gallery  (Read 1756 times)

0 Members and 1 Guest are viewing this topic.

mu26aeh

  • Crew
  • *
  • Posts: 3183
  • Gender: Male
Problem uploading images to gallery
« on: February 26, 2018, 07:27:29 PM »
I have an issue, as well as a few others as mentioned in this weeks WUD, in that images cannot be uploaded to the gallery.  When I try to upload it says the picture is not a valid file.  So then I tried uploading something I had already done before and got the same issue. 

RBrodzinsky

  • Crew
  • *
  • Posts: 833
  • Gender: Male
Re: Problem uploading images to gallery
« Reply #1 on: February 26, 2018, 07:53:45 PM »
I had a problem, yesterday, too. After a couple of tries, just eliminated the photos from the post and just linked a video.
Rick Brodzinsky
Chief Engineer - JACALAR Railroad
Silicon Valley FreeMo-N

tom mann

  • Administrator
  • Crew
  • *****
  • Posts: 10716
  • Representing The Railwire on The Railwire
    • http://www.chicagoswitching.com
Re: Problem uploading images to gallery
« Reply #2 on: February 26, 2018, 08:19:34 PM »
Hmmm...i’ll Look into it.

tom mann

  • Administrator
  • Crew
  • *****
  • Posts: 10716
  • Representing The Railwire on The Railwire
    • http://www.chicagoswitching.com
Re: Problem uploading images to gallery
« Reply #3 on: February 26, 2018, 08:24:30 PM »
What file type is it?

RBrodzinsky

  • Crew
  • *
  • Posts: 833
  • Gender: Male
Re: Problem uploading images to gallery
« Reply #4 on: February 26, 2018, 08:26:32 PM »
Mine were jpg
Rick Brodzinsky
Chief Engineer - JACALAR Railroad
Silicon Valley FreeMo-N

mu26aeh

  • Crew
  • *
  • Posts: 3183
  • Gender: Male
Re: Problem uploading images to gallery
« Reply #5 on: February 26, 2018, 08:27:51 PM »
The most recent one I tried was jpg, 4.4 mb according to my computer properties.  I think everything I upload is a jpg. 

Chris333

  • Crew
  • *
  • Posts: 13709
Re: Problem uploading images to gallery
« Reply #6 on: February 26, 2018, 08:29:13 PM »
Try to resize it to 800 wide first.

tom mann

  • Administrator
  • Crew
  • *****
  • Posts: 10716
  • Representing The Railwire on The Railwire
    • http://www.chicagoswitching.com
Re: Problem uploading images to gallery
« Reply #7 on: February 26, 2018, 08:45:52 PM »
My limit is 5 MB uploads, but if you wouldn’t mind trying what Chris says...

peteski

  • Crew
  • *
  • Posts: 21852
  • Gender: Male
  • Honorary Resident Curmudgeon
    • Coming (not so) soon...
Re: Problem uploading images to gallery
« Reply #8 on: February 26, 2018, 09:03:12 PM »
My limit is 5 MB uploads, but if you wouldn’t mind trying what Chris says...

I think this confirms that he hit the limit.
https://www.therailwire.net/forum/index.php?topic=44074.msg565293#msg565293

As far as resizing I usually do 1024 pixels across on my PC (IIRC, that is the max  :tommann: allows).   Not sure how easy it is to do that on smart devices.
--- Peteski de Snarkski

-"Look at me, I'm satirical!!!"
-"Look at me, I'm anal retentive!!!"
-"Look at me, I have the most posts evahhhh!!!"
-"Look at me, I'm snarky!!!!"
-"Look at me, I have OCD!!!"
-"Look at me, I'm a curmudgeon!!!!"
-"Look at me, I'm not negative, just blunt and honest!!!"

mu26aeh

  • Crew
  • *
  • Posts: 3183
  • Gender: Male
Re: Problem uploading images to gallery
« Reply #9 on: February 26, 2018, 09:10:06 PM »
Did you change something recently ?  I'm not taking the pictures any differently, and am not uploading them differently.  Pictures uploaded straight from my phone.  And I tried uploading pictures that worked before and still get the same error

tom mann

  • Administrator
  • Crew
  • *****
  • Posts: 10716
  • Representing The Railwire on The Railwire
    • http://www.chicagoswitching.com
Re: Problem uploading images to gallery
« Reply #10 on: February 26, 2018, 09:14:16 PM »
Well, the whole forum is different. :D

The new server has slightly different versions of the PHP image libraries.

nuno81291

  • Crew
  • *
  • Posts: 593
  • Gender: Male
Re: Problem uploading images to gallery
« Reply #11 on: March 01, 2018, 10:31:39 AM »
Having issue uploading non HDR photos directly either in my gallery, on a post as an attachment or with the “add picture to post and gallery” option. Getting error: “not valid file” with gallery, and a “timeout or file size” as an attachment... nothing has changed on my phone since my last photos I have posted in my Layout thread. :?

Edit: the image in question was 2.2mb, I mailed it to myself to resize it down to 680kb. Posted with no issue now, sorry for posting oversized images! I suppose cropping the other photos may have got it under a threshold? Anyway, carry on. :facepalm:
« Last Edit: March 01, 2018, 10:37:29 AM by nuno81291 »
Guilford Rail System in the 80s/90s

tom mann

  • Administrator
  • Crew
  • *****
  • Posts: 10716
  • Representing The Railwire on The Railwire
    • http://www.chicagoswitching.com
Re: Problem uploading images to gallery
« Reply #12 on: March 01, 2018, 11:45:18 AM »
There might be a timeout issue with the new server that I can investigate...but I really would want people to do the resize before the upload so that server resources are conserved.

Chris333

  • Crew
  • *
  • Posts: 13709
Re: Problem uploading images to gallery
« Reply #13 on: March 01, 2018, 02:20:02 PM »
I never tried uploading from a phone, but if I did I'd have no idea how to re-size it on there.

nuno81291

  • Crew
  • *
  • Posts: 593
  • Gender: Male
Re: Problem uploading images to gallery
« Reply #14 on: March 01, 2018, 08:29:38 PM »
Unfortunately all I currently have is my phone; I resized by emailing the photo to myself it gives you a few options of sizes (thanks google!) on an iPhone.
Guilford Rail System in the 80s/90s