After the upgrade from 1.6 to 2.0 thumbnail images for content type image aren't being created OR I don't see them (user1) in the media browser when trying to pick an image from all files or my files or anywhere where the image is available.

Comments

dalu created an issue. See original summary.

dalu’s picture

Title: Thumbnails not generated after updated from 1.6 to 2.0 » Thumbnails not generated after update from 1.6 to 2.0
joseph.olstad’s picture

Please Inspect the thumbnail element and paste it's html code here. This will possibly lead us in the right direction.

Also, check watchdog messages for hints.

joseph.olstad’s picture

Status: Active » Closed (duplicate)
Parent issue: » #2860962: Image thumbnail display in Media browser
joseph.olstad’s picture

Status: Closed (duplicate) » Active

Actually, not duplicate, just related or similar

dalu’s picture

Ok it's because https://www.drupal.org/node/2860962#comment-11993778
square_thumbnail wasn't present anymore.

I believe this is because it is there with media 1.6 but isn't with 2.0.

The solution is to create square_thumbnail image style (with scale 180x180).

https://site.com/sites/site.com/files/styles/square_thumbnail/public/imagefile.jpg

this is of course not found because the square_thumbnail image style doesn't exist

It does fix the problem

I guess if you really want to fix the issue, mark it as solved, you should check if this image style exists, if not, create it.

Thanks for help :)

joseph.olstad’s picture

Thanks for follow-up, I did see this problem once before, it would be nice to figure out why that image style is missing, maybe it's something fixable through a hook update for those upgrading from 1.6 to 2.0

Keep this open for now, workaround is valid, would be nice to fix this in the upgrade path for others upgrading so that the workaround would not be needed.

Chris Matthews’s picture

Version: 7.x-2.0 » 7.x-2.x-dev
Status: Active » Closed (outdated)

Recent versions of media have resolved most of peoples concerns and is compatible with entity translation, multilingual and various advanced configurations. Due to the high volume of inactive and most often irrelevant issues we are Closing this as (outdated). If for whatever reason this issue is important to you AND you still have issues after checking the media recipe documentation, then let us know and we will review your concerns.

Otherwise, see the recipe documentation for how to configure media and for troubleshooting tips OR refer to the media_dev distribution if you want to see a working media setup.

As mentioned, feel free to make some noise in this issue if you still feel it is important to you or someone else.

Thanks,

Media team