I'm using Media.module 7.x-2.0-unstable7

Adding an image via the "add media" button lets my browse for an image and the select a display format.

"default" adds a small image icon and the filename linked to the actual file
"teaser" adds the image at 220px width
"preview" adds the image as a 180px x 180px square

None of these is any use if I want to display an image at its original size which might be 800px x 600px.

Am I missing something?


drupalsven’s picture

Ok, file extension was not recognized because it was UPPER CASE! Lower case extensions (.jpg vs .JPG) ARE actually displayed in their original size.
So I guess this module works as designed.
But given that some programs like Photoshop like saving images is upper case maybe media.module should automatically accept lower and upper case? It seems dedudant to enter all file types in either case in the list of valid extensions.

kiwimind’s picture

I'm facing the same issue, although I still can't get my image to display full-sized. What did you do to get it showing? My image has a lowercase extension.

nibo’s picture

Actually this has nothing to do with the up- or lowercase file extension.

To enable an image to be displayed it its original size for the "Default" display, you have to go to your file types settings (for Image located at admin/structure/file-types/manage/image/file-display). Then in the Default tab you should enable the "Image" display and choose the image style you want, in this case None (original image).

kiwimind’s picture

Thank you very much for the pointer. I presume that this is a new feature with media 2.x as I don't remember playing with these settings before.

Devin Carlson’s picture

Status: Active » Fixed

This is fixed per #4.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.