function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
gtuerkgtuerk 

Embedding Content Thumbnails in Visualforce page

I would like to be able to display multiple thumbnails of uploaded images that are stored using CRM Content on a single Visualforce page.  I'm able to get ContentDocuments and ContentVersion using SOQL but am unclear on how to embed this content.  Ideally, I would use the apex:image tag within a repeat using a bound list of ContentVersion elements.  Has anybody done something similar?

sgribisgribi

I have a similar conundrum with embedding the content module in a SFDC site VisualForce page. The apex:detail tag does not render anything for the ContentDocument, which I would expect to present the same module that is seen on the regular content screen.

<apex:page standardController="ContentDocument" showHeader="false" sidebar="false">
	<apex:detail subject="{!ContentDocument.Id}" relatedList="true" title="true"/>
</apex:page>

 Any feedback / workaround would be appreciated.

MayTheForceBeWithYouMayTheForceBeWithYou

Was this question ever resolved? I am facing the same issue-thanks!