MH X Solutions

Create content

The main purpose of your website is to create content.

Create a Google Photo's page

Replace 100000000000000000000 with your Google Photo's ID

<div tal:condition="exists:REQUEST/GET/album"> <div tal:define="album php:Poodle\Media\GooglePhotos::getAlbum('100000000000000000000', ${REQUEST/GET/album})" id="media-album-items"> <h2 tal:content="album/title">album/title</h2> <p tal:content="album/summary">album/summary</p> <figure tal:repeat="photo album/photos" itemprop="associatedMedia" itemscope="" itemtype="http://schema.org/ImageObject"> <a itemprop="contentUrl" tal:attributes="href photo/url; data-width photo/width; data-height photo/height"> <img alt="" itemprop="thumbnail" tal:attributes="src photo/thumbURL; title photo/title"/> </a> <figcaption itemprop="caption description" tal:content="photo/title">photo/title</figcaption> </figure> </div> <div tal:omit-tag="" tal:include="poodle/media/photoswipe"></div> </div> <div tal:condition-else=""> <a tal:repeat="album php:Poodle\Media\GooglePhotos::getAlbums('100000000000000000000')" tal:attributes="href '?album=${album/id}'" style="display:inline-block; width:49%"> <h2 tal:content="album/title">album/title</h2> <img tal:attributes="src album/thumbURL" alt=""/> <p tal:content="album/summary">album/summary</p> </a> </div>