Image Attachment Page
-
I have the following shortcode on a page to display the “gallery” page:
[mla_gallery attachment_tag="paintings" mla_caption="{+title+}" mla_link_href="/paintings2/paintings-details/?current_id={+attachment_ID+}&attachment_tag={+query:attachment_tag+}"]
I have the following shortcode/html on a page to display the “image attachment” page:
<div class="imgdetails"><div style="clear: both; float: left;">[mla_gallery mla_output="previous_link,wrap" mla_link_text='PREVIOUS' attachment_tag="{+request:attachment_tag+}" id="{+request:current_id+}" mla_rollover_text="{+title+}" mla_link_href="{+page_url+}?current_id={+attachment_ID+}&attachment_tag={+query:attachment_tag+}"]</div> <div style="float: right;">[mla_gallery mla_output="next_link,wrap" mla_link_text='NEXT' attachment_tag="{+request:attachment_tag+}" id="{+request:current_id+}" mla_rollover_text="{+title+}" mla_link_href="{+page_url+}?current_id={+attachment_ID+}&attachment_tag={+query:attachment_tag+}"]</div></div> <div class="imgdisplay">[mla_gallery columns=1 ids="{+request:current_id+}" size=large]</div>
If you look at my “image attachment” page, you can see I’ve created 2 divs (1 column 30%, 1 column 70%). I would like to display the image’s TITLE and DESCRIPTION in the first div above the “previous and next” links that I already have there.
I’d also like to display the # of images (1 of 20) in this gallery between the “previous and next” links.
Here is the page currently: https://micheletheberge.com/paintings2
Any help is GREATLY appreciated!!!
- The topic ‘Image Attachment Page’ is closed to new replies.