Open a specific image in Full View
The present example will show how it is possible to automatically make the SharinPix Album:
Show a specific image
- This section will demonstrate how it is possible to open a specific image in large view when the SharinPix Album loads.
To specify which particular image is to be displayed when the SharinPix Album loads for the first time, you will need to replace the image's id assigned to the the following reference:
The code snippet below shows the implementation of the Apex Controller Class which dictates what specific image is opened within the large view mode.
The code snippet below shows the implementation of the Visualforce Page whose sole purpose revolves around displaying the SharinPix Album.
Activate the Annotation mode
- As well as opening a specific image automatically, it is also possible to open this same image within the Edit mode. To perform the latter, you will need to append an extra parameter as shown below:
'pagelayout/' + albumId + '?image=' + imageId + '&annotate=true'