- Issue created by @ibullock
- 🇵🇱Poland paladyn
I have the same issue and I manage to solve it by changing one line of code in "src/Plugin/media/Source/Asset.php" - line 283.
return $this->getRemoteThumbnailUri($external_id) ?: $asset['thumbnails']['600px']['url'];
to
return $asset['thumbnails']['600px']['url'] ?: $this->getRemoteThumbnailUri($external_id);
For me
$asset['thumbnails']['600px']['url']
- has right preview path and$this->getRemoteThumbnailUri($external_id);
generates wrong one.I was not digging further into it, but I hope it will help someone to fix the source of issue.
- 🇨🇴Colombia pablomoto1000
Added a patch to enforce widget_table view mode as a quick fix to this missing thumbnails issue in a default D10 site.
- 🇮🇳India vipin.mittal18 Greater Noida
Hello @ibullock, Could you please outline the exact steps to reproduce the issue?
- 🇮🇳India vipin.mittal18 Greater Noida
Solution: Please follow the steps outlined below:
- Navigate to /admin/structure/media/manage/acquia_dam_image_asset/display/media_library.
- Replace the existing field with the “Asset Reference field.” and set image style along with.
- Finally, click “Save.”
- Status changed to Needs work
21 days ago 12:32pm 11 June 2025 - 🇮🇳India vipin.mittal18 Greater Noida
The v2 structure format is causing issues with thumbnail generation. Therefore, we have decided to serve the thumbnail using v3 as a uniform solution.
- First commit to issue fork.
- Merge request !164Resolve #3512214 "Fix: Preview thumbnail images fail/not generated for Site Studio Components." → (Merged) created by rajeshreeputra
- First commit to issue fork.
- 🇺🇸United States japerry KVUO
While a cursory look at the code looks ok, it'd be good to get validation here that the issue found with site studio is fixed.
-
japerry →
committed 16d34836 on 1.1.x authored by
rajeshreeputra →
Issue #3512214 by rajeshreeputra, ankitv18: Preview thumbnail images...
-
japerry →
committed 16d34836 on 1.1.x authored by
rajeshreeputra →
- 🇺🇸United States japerry KVUO
Received validation that it works in Site Studio, fixed!