How to display the list of the whole blog as list gallery?


In this page http://localhost/blog/all, I wanted placed this code so that all output of every articles can be displayed in fashion of list Gallery.


$options['limit'] = 18;
$options['list_class'] = "elgg-gallery-friends";
$options['size'] = "large";

By your love, please help me to position well or to place this code in the file of the Blog plugin or BlogTools.
Thank you for me have attend.