Display Thumbnail Infos
Implementation of Apex Class
public class SharinPixSearchPage {
private Map<String, Object> params;
private sharinpix.Client clientInstance = sharinpix.Client.getInstance();
public SharinPixSearchPage(ApexPages.StandardController stdCtrl) {
params = new Map<String, Object>{
'path' => 'search?v=2&search_bar=false',
'q' => '*',
'thumbnail_tags' => true,
'thumbnail_filename' => true,
'thumbnail_date' => 'L',
'custom_label' => 'CustomLabel__c'
};
}
public String getParameters() {
return JSON.serialize(params);
}
public String getSearchUrl() {
return clientInstance.getAppHost() + '?token=' + clientInstance.token(params);
}
}Parameter
Value
Description
Implementation of Visualforce Page
How it appears

PreviousHow to personalize the image large view and interaction (footer)NextUsing Sort inside query parameters
Last updated
Was this helpful?

