Forum Discussion

cjdinger's avatar
cjdinger
Leader
4 years ago

Component to preview attachments in lightbox

We customized our TKB Article Page quilt and placed attachments near the top. We fetch the details using the APIs.  Looks like this:


(See it in action here if you like.)

The action when you click on the attachment will download in your browser, but I'm interested in offering a lightbox preview the same as the default attachment component. Is there a component I can use to wrap this feature in?

  • Thanks Claudius for the reply. From what I see the lightbox previewer leverages a service from box.com to preview the content of known types like PDF, CSV, etc.  I'm not going to replicate that!  I'm guessing there must be a built-in wrapper for this in the community platform...but perhaps it's not a component that we can include in our own custom components.