<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>THE MOLITOR FORUMS &#187; Topic: Title of picture not showing when zoomed</title>
		<link>http://www.themolitor.com/forums/topic/title-of-picture-not-showing-when-zoomed</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Title of picture not showing when zoomed</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 11:36:22 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/title-of-picture-not-showing-when-zoomed" rel="self" type="application/rss+xml" />

		<item>
			<title>KristianSax on "Title of picture not showing when zoomed"</title>
			<link>http://www.themolitor.com/forums/topic/title-of-picture-not-showing-when-zoomed#post-4059</link>
			<pubDate>Tue, 06 Sep 2011 07:46:38 +0000</pubDate>
			<dc:creator>KristianSax</dc:creator>
			<guid isPermaLink="false">4059@http://www.themolitor.com/forums/</guid>
			<description><p>Hi,<br />
I've been fiddling with the code and the only thing that I've achieved is getting the Alternate text to appear above the images when they are in the Masonry view.</p>
<p>I've tried all the above options and nothing else seems to do anything but the code bit below. As this is my first time with php I've run out of options. Perhaps someone could help and amend this code for me (a-tags removed from the second section to be able to post). Thanks in advance.</p>
<p>&#60;?php  $image_attributes = wp_get_attachment_image_src($attachment-&#62;ID,'medium');?&#62; </p>
<p>class="postImg" href="&#60;?php echo wp_get_attachment_url( $attachment-&#62;ID , false ); ?&#62;" &#62;&#60;?php echo get_post_meta($attachment-&#62;ID, '_wp_attachment_image_alt', true); ?&#62;&#60;img<br />
width="&#60;?php echo $image_attributes[1] ?&#62;" height="&#60;?php echo $image_attributes[2] ?&#62;" src="&#60;?php echo  wp_get_attachment_url( $attachment-&#62;ID , false ); ?&#62;" alt="&#60;?php the_title(); ?&#62;" width="280" border="0" /&#62;
</p></description>
		</item>
		<item>
			<title>eransharv on "Title of picture not showing when zoomed"</title>
			<link>http://www.themolitor.com/forums/topic/title-of-picture-not-showing-when-zoomed#post-3850</link>
			<pubDate>Mon, 22 Aug 2011 01:50:52 +0000</pubDate>
			<dc:creator>eransharv</dc:creator>
			<guid isPermaLink="false">3850@http://www.themolitor.com/forums/</guid>
			<description><p>hi.<br />
this is the full code that i added to single.php.<br />
this code displays ON the lightbox the title and description:</p>
<p>&#60;div id="postImgs"&#62;<br />
			&#60;?php foreach ( $attachments as $attachment ) { ?&#62;</p>
<p>				&#60;?php $image_attributes = wp_get_attachment_image_src($attachment-&#62;ID,'medium');?&#62;<br />
				&#60;?php $imageCaption = $attachment-&#62;post_excerpt; ?&#62;<br />
				&#60;?php $imageDescription = $attachment-&#62;post_content; ?&#62;</p>
<p>      				<a>" class="postImg" href="&#60;?php echo wp_get_attachment_url( $attachment-&#62;ID , false ); ?&#62;"&#62;&#60;img width="&#60;?php echo $image_attributes[1] ?&#62;" height="&#60;?php echo $image_attributes[2] ?&#62;" src="&#60;?php echo wp_get_attachment_url( $attachment-&#62;ID , false ); ?&#62;" alt="&#60;?php echo $imageDescription; ?&#62;" width="280" border="0" /&#62;</a><br />
			&#60;?php } ?&#62;<br />
		&#60;/div&#62;
</p></description>
		</item>
		<item>
			<title>wearesmith on "Title of picture not showing when zoomed"</title>
			<link>http://www.themolitor.com/forums/topic/title-of-picture-not-showing-when-zoomed#post-3814</link>
			<pubDate>Thu, 18 Aug 2011 11:33:54 +0000</pubDate>
			<dc:creator>wearesmith</dc:creator>
			<guid isPermaLink="false">3814@http://www.themolitor.com/forums/</guid>
			<description><p><code>&#60;a class=&#34;postImg&#34; href=&#34;&#60;?php echo wp_get_attachment_url( $attachment-&#62;ID , false ); ?&#62;&#34; &#62;&#60;img width=&#34;&#60;?php echo $image_attributes[1] ?&#62;&#34; height=&#34;&#60;?php echo $image_attributes[2] ?&#62;&#34; src=&#34;&#60;?php echo wp_get_attachment_url( $attachment-&#62;ID , false ); ?&#62;&#34; alt=&#34;&#60;?php the_title(); ?&#62;&#34; width=&#34;280&#34; border=&#34;0&#34; /&#62;&#60;/a&#62;</code>
</p></description>
		</item>
		<item>
			<title>wearesmith on "Title of picture not showing when zoomed"</title>
			<link>http://www.themolitor.com/forums/topic/title-of-picture-not-showing-when-zoomed#post-3813</link>
			<pubDate>Thu, 18 Aug 2011 11:33:10 +0000</pubDate>
			<dc:creator>wearesmith</dc:creator>
			<guid isPermaLink="false">3813@http://www.themolitor.com/forums/</guid>
			<description><p>Thanks eransharv - I think this answers my previous post. It does add the Alternate text below the thumbnail (post). It doesn't appear to solve the issue of having either description/caption display on the "lightbox" image. <em>Is this supposed to help with that?</em>I assume it only affects the post image as displayed. I added the code below fro reference.
</p></description>
		</item>
		<item>
			<title>eransharv on "Title of picture not showing when zoomed"</title>
			<link>http://www.themolitor.com/forums/topic/title-of-picture-not-showing-when-zoomed#post-3797</link>
			<pubDate>Wed, 17 Aug 2011 16:13:33 +0000</pubDate>
			<dc:creator>eransharv</dc:creator>
			<guid isPermaLink="false">3797@http://www.themolitor.com/forums/</guid>
			<description><p>if anyone interested in the code that add the attribute "title".<br />
you need to edit the single.php and add this code to the "a" tag with wraps the picture:</p>
<p>&#60;?php echo get_post_meta($attachment-&#62;ID, '_wp_attachment_image_alt', true); ?&#62;</p>
<p>Other code to get different image attributes:</p>
<p>&#60;?php $imageCaption = $attachment-&#62;post_excerpt; ?&#62;<br />
&#60;?php $imageDescription = $attachment-&#62;post_content; ?&#62;
</p></description>
		</item>
		<item>
			<title>IvyPearson on "Title of picture not showing when zoomed"</title>
			<link>http://www.themolitor.com/forums/topic/title-of-picture-not-showing-when-zoomed#post-3100</link>
			<pubDate>Wed, 29 Jun 2011 13:20:17 +0000</pubDate>
			<dc:creator>IvyPearson</dc:creator>
			<guid isPermaLink="false">3100@http://www.themolitor.com/forums/</guid>
			<description><p>Well I modified the single.php file in order to add the attribute "title" to the "a" tag which wraps the picture.
</p></description>
		</item>
		<item>
			<title>IvyPearson on "Title of picture not showing when zoomed"</title>
			<link>http://www.themolitor.com/forums/topic/title-of-picture-not-showing-when-zoomed#post-3099</link>
			<pubDate>Wed, 29 Jun 2011 13:04:31 +0000</pubDate>
			<dc:creator>IvyPearson</dc:creator>
			<guid isPermaLink="false">3099@http://www.themolitor.com/forums/</guid>
			<description><p>Hello,</p>
<p> I can't seem to be able to show the title of a picture when zoomed in.<br />
I know that PerryPhoto gets the picture caption from the title attribute in the "a" tag, thing is, there is no title attribute in my picture link. I have tried writing text inside Title, Caption and Description but nothing shows :/<br />
Any idea please ?
</p></description>
		</item>

	</channel>
</rss>
