How to optimize photos

I have a bunch of photos organized by year / event name folders in Plex and most of these are pretty big jpegs

My goal is to create optimized versions of my photos (smaller size) which I then would sync to my phone.

I have been trying to “optimize for mobile” a few folders but I end up with this error: Invalid Metadata

After looking at the logs, here is what I found:

Mar 21, 2017 20:52:45.581 [0xea047b40] DEBUG - Versions: deleting versioned metadata item 294050 because generator 2189 no longer exists
....
Mar 21, 2017 20:52:56.229 [0xea047b40] DEBUG - MDE: analyzing media item 759102
Mar 21, 2017 20:52:56.229 [0xea047b40] DEBUG - MDE: IMG_0027: Direct Playing due to no transcode profile
Mar 21, 2017 20:52:56.229 [0xea047b40] DEBUG - MDE: IMG_0027: no direct play photo profile exists for jpeg
Mar 21, 2017 20:52:56.229 [0xea047b40] DEBUG - MDE: IMG_0027: selected media 0 / 759102
Mar 21, 2017 20:52:56.229 [0xea047b40] ERROR - Versions: unable to make a media decision for metadata item 294050
Mar 21, 2017 20:52:56.229 [0xea047b40] DEBUG - BPQ: completing synchronous processing for version metadata item 294050
Mar 21, 2017 20:52:56.231 [0xea047b40] DEBUG - Versions: processed item 294050 for generator 2190: failure/sourceFileMetadataError
Mar 21, 2017 20:52:56.231 [0xea047b40] DEBUG - Versions: generator 2190: pending/good with 21/0/0/34/0 item(s)
Mar 21, 2017 20:52:56.234 [0xea047b40] VERBOSE - BPQ: removed queue entry for completed metadata item 29405/

Any help or suggestion would be very appreciated

bump.

I’m having the same problem with the same error messages.

Optimization does not work for any of the photos in my library.