Hi guys, this maybe a simple task to a few of you, but for me this one is a little above my head.
I have create TV's for posting an image and thumb. But i need to also be alble to post the alt="" info.
My site has resizeonupload set up, so when i post images to my "image" dir manually prior to creating a post. so with this i naturally get the thumb nail and main image placed in the dir ready to be pulled into blog. There are two tvs that i have set up one to calls the thumbnail on publish ie to home page. The other as you can guess calls the main image to post to a nivo-slider. Example: www.thespawned.co.uk (my dev url). The call and post of each image (non gallery items) works perfect with the tv call, but i would like to be able to call/show the alt="" info in the nivo-slider.... Problem is how to call the pagetitle for the physical page that the image is tied too. In the tv output it states the alt option and can post [[*id]] which works and shows as HOME but as mentioned i need the file name or article pagetitle instead.
This is the end output as currently.
<div id="slider" class="nivoSlider"><a href="mixes/i-am-architekt-2015-04-10.html"><img src="images/GDMK Mixes/I_AM_ARCHiTEKT - 2015-04-10/iam20150410-600x600.jpg" alt="Home" /></a>
<a href="featured-mixes/duplicate-of-i-am-architekt-2015-04-10.html"><img src="images/GDMK Mixes/I_AM_ARCHiTEKT - 2015-04-10/iam20150410-600x600.jpg" alt="Home" /></a>
<a href="mixes/i-am-architekt-2015-03-24.html"><img src="images/GDMK Mixes/I_AM_ARCHiTEKT - 2015-03-24/Iamarchitekt20150324-600x600.jpg" alt="Home" /></a>
<a href="featured-mixes/duplicate-of-i-am-architekt-2015-03-24.html"><img src="images/GDMK Mixes/I_AM_ARCHiTEKT - 2015-03-24/Iamarchitekt20150324-600x600.jpg" alt="Home" /></a>
<a href="mixes/i-am-architekt-2015-02-09.html"><img src="images/GDMK Mixes/I_AM_ARCHiTEKT - 2015-02-09/Iamarchitekt20150209_600x600.jpg" alt="Home" /></a>
<a href="featured-mixes/duplicate-of-i-am-architekt-2015-02-09.html"><img src="images/GDMK Mixes/I_AM_ARCHiTEKT - 2015-02-09/Iamarchitekt20150209_600x600.jpg" alt="Home" /></a>
<a href="mixes/i-am-architekt-2015-01-24.html"><img src="images/GDMK Mixes/I_AM_ARCHiTEKT - 2015-01-24/1am20150124-600.jpg" alt="Home" /></a>
<a href="featured-mixes/duplicate-of-i-am-architekt-2015-01-24.html"><img src="images/GDMK Mixes/I_AM_ARCHiTEKT - 2015-01-24/1am20150124-600.jpg" alt="Home" /></a>
</div>
Call is as follows.
[[!getResourcesTag? &elementClass=`modSnippet` &element=`getResources` &tpl=`PostImage` &parents=`11,45` &limit=`8` &includeContent=`0` &includeTVs=`6` &processTVs=`6` &showHidden=`0` &hideContainers=`0` &cache=`0` &pageVarKey=`page` ]]
tpl:
<a href="[[~[[+id]]]]">[[+tv.postimage]]</a>
So if anyone can point me on the right path i would worship the ground taht you walk on
Please help, and thanks in advance - steve f.