<rss version="2.0">
		<channel>
			<title>Plogger Support Forum - Getting variables to display in a popup.php window</title>
			<lastBuildDate>Sat, 14 Mar 2026 05:50:05 +0000</lastBuildDate>
			<link>http://www.plogger.org/forum/</link>
			<description></description>
			<generator>Lussumo Vanilla 1.1.10</generator>
			<item>
		<title>Getting variables to display in a popup.php window</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=181&amp;Focus=849#Comment_849</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=181&amp;Focus=849#Comment_849</guid>
		<pubDate>Sun, 06 Nov 2005 16:19:44 +0000</pubDate>
		<author>jack</author>
		<description>
			<![CDATA[I have a popup.php file I'm using to open the larger images directly. I'm trying to get the image caption and description to display beneath the image in that window but have only succeeded in doing so with the date. But I don't understand why the rest isn't shown.<br /><br />At the top of that page I have<br /><br />&lt;?php<br />include(&quot;plog-functions.php&quot;);<br />include(&quot;plog-globals.php&quot;);<br />global $inHead;<br />global $config;<br />?&gt;<br /><br />Then (after some other plogger code) in the body I have<br /><br />print '&lt;div class=&quot;datumplustitel&quot;&gt;&lt;h4&gt;' .get_picture_date(). ': ' . get_picture_caption() . '&lt;/h4&gt; - ' . get_picture_description() . '&lt;/div&gt;';<br /><br />The image is shown correctly, but the rest of the information is missing.<br /><br />What else is needed to get that information 'transported' into that popup file?]]>
		</description>
	</item>
	<item>
		<title>Getting variables to display in a popup.php window</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=181&amp;Focus=856#Comment_856</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=181&amp;Focus=856#Comment_856</guid>
		<pubDate>Mon, 07 Nov 2005 00:17:12 +0000</pubDate>
		<author>jack</author>
		<description>
			<![CDATA[... or perhaps another idea would be to get the large images (which in my case are the same images/format as the intermediate images) into a popup window, with the functionality of the next/previous, slideshow, caption and description.<br /><br />I know this can be done, I'm just not sure how?]]>
		</description>
	</item>
	<item>
		<title>Getting variables to display in a popup.php window</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=181&amp;Focus=861#Comment_861</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=181&amp;Focus=861#Comment_861</guid>
		<pubDate>Mon, 07 Nov 2005 08:44:21 +0000</pubDate>
		<author>jack</author>
		<description>
			<![CDATA[... it's me again ;). I've decided to go for a popup only. The inline images looks really good, but I want to have the opportunity to show a larger image if necessary, and that would mean needing at least twice the amount of diskspace. And because I will have hundreds of photographs, the thumb leading directly to the large image is the better choice.<br /><br />So my first question stands: how do I get the caption and description to show up in the popup?]]>
		</description>
	</item>
	<item>
		<title>Getting variables to display in a popup.php window</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=181&amp;Focus=904#Comment_904</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=181&amp;Focus=904#Comment_904</guid>
		<pubDate>Tue, 08 Nov 2005 14:58:15 +0000</pubDate>
		<author>mike</author>
		<description>
			<![CDATA[are you using Beta 2 or the latest nightly?]]>
		</description>
	</item>
	<item>
		<title>Getting variables to display in a popup.php window</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=181&amp;Focus=905#Comment_905</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=181&amp;Focus=905#Comment_905</guid>
		<pubDate>Tue, 08 Nov 2005 15:37:24 +0000</pubDate>
		<author>jack</author>
		<description>
			<![CDATA[Latest nightly. <br />I'm trying out things right now :), but with no succes yet.<br /><br />This is what I came up with until now:<br /><br />in the head:<br />&lt;?php<br />include(&quot;plog-functions.php&quot;);<br />include(&quot;plog-globals.php&quot;);<br />?&gt;<br /><br />and in the body:<br /><br />&lt;?php<br />$baseurl = $config[&quot;baseurl&quot;];<br />$src = $_REQUEST['src'];<br />$picture = get_picture_by_id($src);<br />$id = $picture[&quot;id&quot;];<br /><br />connect_db();<br />$sql = &quot;SELECT * FROM `&quot;.$TABLE_PREFIX.&quot;pictures` WHERE id = $id&quot;;<br />$result = run_query($sql);<br />$row = mysql_fetch_assoc($result);<br /><br />$thumbdir =  $baseurl.&quot;images/&quot;.$picture['path'];<br />list($width, $height, $type, $attr) = getimagesize($thumbdir);<br />echo '<br />&lt;script language=&quot;JavaScript&quot;&gt;<br />&lt;!--<br />this.resizeTo('.$width.'+80,'.$height.'+140);<br />--&gt;<br />&lt;/script&gt;';<br /><br />$imagepath = $baseurl.&quot;images/&quot;.$picture['path'];<br />$imgtag = '&lt;img class=&quot;photos&quot; src=&quot;'.$imagepath.'&quot; alt=&quot;'.$src.'&quot;/&gt;';<br />$output = $imgtag;<br />?&gt;<br />&lt;table width=&quot;100%&quot; height=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;<br />&lt;tr&gt;&lt;td valign=&quot;middle&quot; align=&quot;center&quot;&gt;<br />&lt;a href=&quot;javascript:window.close();&quot;&gt; <br />&lt;?php<br />print $output;<br />print '&lt;div class=&quot;datumplustitel&quot;&gt;&lt;h4&gt;' .get_picture_date(). ': ' . get_picture_caption() . '&lt;/h4&gt; - ' . get_picture_description() . '&lt;/div&gt;';<br />?&gt;<br />&lt;/a&gt;]]>
		</description>
	</item>
	<item>
		<title>Getting variables to display in a popup.php window</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=181&amp;Focus=989#Comment_989</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=181&amp;Focus=989#Comment_989</guid>
		<pubDate>Fri, 11 Nov 2005 14:42:52 +0000</pubDate>
		<author>jack</author>
		<description>
			<![CDATA[Any ideas yet Mike? Or is this perhaps too complicated at this moment and should I wait for the next beta? I know I'm missing some data in that popup file, some content from the gallery.php file that's causing those functions not to work, but I don't know what.]]>
		</description>
	</item>
	
		</channel>
	</rss>