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
Paul BrainardPaul Brainard 

Element type "apex:image" must be followed by either attribute specifications, ">" or "/>"

Why would I be getting this error?
Element type "apex:image" must be followed by either attribute specifications, ">" or "/>"

Here's the code:

<apex:image value="{!$Resource.house_yellow}" alt="Case Status = Intake or Waitlisted" rendered="{!Participant_Case__c.Status__c == 'Intake' || Participant_Case__c.Status__c == 'Referred to Program' || Participant_Case__c.Status__c == 'Waitlisted'}"style="max-height:30px;" Title="Needs to be Enrolled"/>

Best Answer chosen by Paul Brainard
PriyaPriya (Salesforce Developers) 
Hi Paul,

Can you please try to add space at style
Participant_Case__c.Status__c == 'Waitlisted'}" style="max-height:30px;"
Hope this is helpful! kindly mark this as best answer..

Regards,
Ranjan
 

All Answers

PriyaPriya (Salesforce Developers) 
Hi Paul,

Can you please try to add space at style
Participant_Case__c.Status__c == 'Waitlisted'}" style="max-height:30px;"
Hope this is helpful! kindly mark this as best answer..

Regards,
Ranjan
 
This was selected as the best answer
Paul BrainardPaul Brainard
Thanks Ranjan. Brain fog! :)