Search  
 

Please login to post into the forums. Remember - keep your posts friendly. 

Note: Identic Pty Ltd reserves the right to remove any material it considers inappropriate or offensive. Please report any undesirable posts or behaviour to support@lucidcentral.org.

If you have any direct support requests such as reactivation requests please use the help desk.

  
 

Login

    
 
HomeHomeFact Sheet Fusi...Fact Sheet Fusi...Fact Sheet Fusi...Fact Sheet Fusi...Why are there no formatting on my image captions when I export via some templates?Why are there no formatting on my image captions when I export via some templates?
Previous
 
Next
New Post
4/22/2016 3:02 PM
 
Problem: The problem is when the fact sheets are exported no formatting such as italics or bold etc appears in the image captions.

Solution: Some template authors may use the 'plain text' version of the caption, rather than the formatted caption as it guarantees clean text for the image caption and won't interfere with image viewing scripts such as Lightbox. If you prefer to use the formatted edition of your media captions then you easily change the template to do so.

Open your templates folder and look in the sub-folder called 'fs_template'. Assuming the template is based on a default FSF v2 template you will see the image processing template called 'media_image.xslt'. Open this in a text editor such as Notepad++ and look for the following block of code:


   
             
   


The above code adds an attribute called 'title' to the images HREF tag, which is used by the Lightbox script. The title text is derived from the captions alt text,which the plain text version of the caption. You can change this to use the regular 'formatted' caption text by changing it to:


   
             
   


Further below this section is where the image caption is rendered below the image:


     

     

Change this to use formatted caption text like so:


     

     

Note: As always we recommend backing up your template before attempting any customisations. You must take care when editing XSLT as any broken tags or missing tags will prevent the template from working.
 
Previous
 
Next
HomeHomeFact Sheet Fusi...Fact Sheet Fusi...Fact Sheet Fusi...Fact Sheet Fusi...Why are there no formatting on my image captions when I export via some templates?Why are there no formatting on my image captions when I export via some templates?


  
Copyright 2018. All rights reserved. Identic Pty
Terms Of Use  Privacy Statement