Creating a post with Image metadata (again)
-
Hi David, I hope you are doing well. Here I am, on this same topic, some years latter….
This time, following all the instructions from my previous post and avoid my mistakes. So here is what I have:
1.) I do have a couple of images with att-tags = shoot1
2.) This is my Custom [mla_gallery] Style Template called ptp-post:
<style type='text/css'> #[+selector+] { margin: auto; width: 100%; } #[+selector+] .gallery-item { float: [+float+]; margin: [+margin+]; text-align: left; width: [+itemwidth+]; } #[+selector+] .gallery-item .gallery-icon img { border: 2px solid #cfcfcf; } #[+selector+] .gallery-caption { margin-left: 0; vertical-align: top; } #[+selector+] .gallery-description { text-align: left; display: block; margin: 9px 0 5px; padding: 0 5%; font-size: 10px; line-height: 1.2; text-transform: uppercase; text-alignment: left } /* see mla_gallery_shortcode() in media-library-assistant/includes/class-mla-shortcodes.php */ </style>
3.) This is my Custom [mla-galery] Markup Template called ptp-post
This time I did include all the five sections:
Open:
<div id='[+selector+]' class='gallery galleryid-[+id+] gallery-columns-[+columns+] gallery-size-[+size_class+]'>
Row Open:
<!-- row-open -->
Item:
<[+itemtag+] class='gallery-item [+last_in_row+]'> <[+icontag+] class='gallery-icon [+orientation+]'> [+link+] </[+icontag+]> [+captiontag_content+] <div class="gallery-description">[+description+]</div> </[+itemtag+]>
Row Close:
<br style="clear: both" />
Close:
</div>
And finally this the shortcode I am using in a post:
[mla_gallery tag=shoot1 size=full columns=1 mla_markup=ptp-post mla_style=ptp-post]
Please, check this live url:
http://www.cabudio.com.br/diversos/mla-post-test-shoot1/
Something is being generated, because I can see the next and previous arrow, but I can´t see any part of the images….
I´ve tried in Twenty Fourteen theme and nothing came out, I am using Fotography Lite Theme.
Regards,
- The topic ‘Creating a post with Image metadata (again)’ is closed to new replies.