This project is read-only.

MediaLibrary Image handling/storing

Topics: Administration, Customizing Orchard, General
Sep 20, 2013 at 7:51 AM
observation in short: I'm NOT able to handle 'portrait' images (3:4 / width:height)!
They show up in 'recent' and in my folder as turned left by 90 degrees!

on this subject I spent already some time (see also: thread '456761'; MediaLibrary image layout). In the meantime I believe the error (my fault!?) happens before
i.e. when loading the image via the new 'Media 1.7.1' function.

The details:
  • base is Orchard 1.7.1 loaded from CodeProject.
  • I have 3 images
    a) 4:3 landscape; this always shows correctly
    b) 3:4 portrait;
    c) 4:3 ; this is b) turned (in the Source!) by 90 degrees to the RIGHT
After importing them using 'Dashboard-Media-Import':
In W-explorer: in '/Media/Default/Plants' all show as I set them!

However when checking them in 'Dashboard-Media':
'Recent' and 'Plants':
b) shows as landscape 4:3 turned by 90 degrees to the LEFT !
c) shows also as landscape 4:3 turned by 90 degrees to the LEFT !

Needless to say when used in a MediaLibraryPicker Field: they always show 4:3 turned left! (again ONLY a) is correct!)

I'm out of ideas and appreciate your time and hints
Sep 20, 2013 at 7:59 AM
I think you should file a bug. Please attach one of the files to help with the repro.
Sep 20, 2013 at 3:36 PM
thank you Bertrand. Filed item 20128.
Sep 29, 2013 at 7:20 PM
please DO NOT spend anymore time on this subject
(sorry if you already wasted time!)

I felt into the trap, again, of ONLY turning the Image in w-explorer and then importing it
(i.e. its not really a portrait image)