Edlib icon indicating copy to clipboard operation
Edlib copied to clipboard

Detail view: H5P content type icons missing

Open tmkarlsen opened this issue 1 year ago • 5 comments

H5P content type icons missing in both old an new CA.

Content: https://hub.edlibdev.net/content/01jebfywbxztg87gnxrbz5kgv1/version/01jebfywd6b0jjj23q65tfm40q

NOTE: missing icons within the example content, is probably due to it being uploaded, but that should not be a problem either way.

Example: https://hub.edlibdev.net/storage/uploads/01J8HBX4EZJ2THAQP8D3AXDD27.svg from https://hub.edlibdev.net/content/01f7667n08khj06bvr2t5b5zq7/statistics

Screenshot

Image

tmkarlsen avatar Nov 04 '24 20:11 tmkarlsen

HOS-232

tmkarlsen avatar Nov 06 '24 08:11 tmkarlsen

New H5P content also seems to be missing icons: Skjermbilde 2024-12-09 kl  21 54 03

tmkarlsen avatar Dec 09 '24 21:12 tmkarlsen

Icon not displaying in dev environments either. Icon is uploaded and stored, storage/app/public/uploads/01JF7FX9ED648BYAJZCP23V5PQ.svg, but request, https://hub.edlib.test/storage/uploads/01JF7FX9ED648BYAJZCP23V5PQ.svg, gives 404

chrieinv avatar Dec 16 '24 10:12 chrieinv

@chrieinv make sure that sourcecode/hub/public/storage is a symlink that points to ../storage/app/public. You can check this with docker compose exec hub readlink public/storage.

emmachughes avatar Dec 16 '24 11:12 emmachughes

It wasn't, link created and now it's working in dev. Thanks.

chrieinv avatar Dec 16 '24 11:12 chrieinv