Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
dalu CreditAttribution: dalu commentedComment #3
joseph.olstadPlease 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.
Comment #4
joseph.olstadComment #5
joseph.olstadActually, not duplicate, just related or similar
Comment #6
dalu CreditAttribution: dalu commentedOk 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 :)
Comment #7
joseph.olstadThanks 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.
Comment #8
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedRecent 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