🌍
English
Hello,
Love piwigo. I wanted to share this code I use in my banner. Using tables it will let you have a smaller title banner that expands with more information so it doesn't take up the whole page. You can try it on my piwigo. Hope someone finds it handy! It works without template or backend updates, tested on bootstrap darkroom.
It also works on the Album Description, but you have to rename hidden_row if you use it in the banner at the same time.
<script type="text/javascript"> function showHideRow(row) { $("#" + row).toggle(); } </script> <style> #table_detail .hidden_row { display: none; } </style> <table border=0 id="table_detail"> <tr onclick="showHideRow('hidden_row');"> <td>Welcome To My Personal Picture Archive! <font size=1>(click for more information)</font></td> <tr id="hidden_row" class="hidden_row"> <td> <br> I'm not a professional photographer but always loved photography. My wife gifted me a nice camera for capturing our kid's moments when they were young and I have enjoyed taking some cool pictures on our family outings. I even caught the bug with some upgrades, drones and underwater action cameras. Grandma is our #1 visitor! <br><br> I hope you enjoy the pictures, thanks for visiting! <br><br> All rights reserved, Sean White. </td> </tr> </tr> </table>
Piwigo URL: http://swhite-photos.com
Last edited by swhite-photos (2024-12-15 19:18:32)
Offline