Skip to main content
Package successfully installed. I cloned the VF page and changed the apex reference. I created a section in the custom object page layout. I can select the VF page and drag it into the section called "Attachments". I have added 3 jpg attachments one at a time. I have renamed them. There is no view of them. If i select view in the related list  for the attachment it works but I can't get this VF to work. I can't get the package to work. Thanks for any help.

Here is the VF code, my custom object is "Trademark"

 <apex:page standardController="Trademark__c" extensions="ImageViewController" showHeader="false" sidebar="false" standardStylesheets="false"> <table class="detailList" border="0" cellpadding="0" cellspacing="5"> <apex:repeat value="{!Photos}" var="p"> <tr> <td><image src="{!p.url}" alt="{!p.name}"/></td> </tr> </apex:repeat> </table> </apex:page>

 
1 Antwort
  1. 9. Dez. 2015, 10:37
    I have tried the package with a Custom Object and it works fine. It would be good if you try and increase the height of the section you added and also enable "Show Scrollbars" and then try as the images are displayed in a vertically aligned manner.
0/9000