<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lightbox | KC's Blog</title>
	<atom:link href="https://www.kjctech.net/tag/lightbox/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kjctech.net</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2023 18:21:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/cropped-KC-Logo.png?fit=32%2C32&#038;ssl=1</url>
	<title>Lightbox | KC's Blog</title>
	<link>https://www.kjctech.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">24634607</site>	<item>
		<title>Adding Lightbox on A ASP.net Powered Website</title>
		<link>https://www.kjctech.net/adding-lightbox-on-a-asp-net-powered-website/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=adding-lightbox-on-a-asp-net-powered-website</link>
					<comments>https://www.kjctech.net/adding-lightbox-on-a-asp-net-powered-website/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Wed, 03 May 2017 04:56:18 +0000</pubDate>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[Lightbox]]></category>
		<guid isPermaLink="false">http://www.kjctech.net/?p=3468</guid>

					<description><![CDATA[<p>ASP.net doesn&#8217;t have many plugins like WordPress. So if you would like to add Lightbox-kind effect on your ASP.net powered website, you will need to do it manually. Here is how you can do it. 1. Go to this Lightbox site and click Download button to download the script package. 2. Extract the package and save both css and js folder into [&#8230;]</p>
The post <a href="https://www.kjctech.net/adding-lightbox-on-a-asp-net-powered-website/">Adding Lightbox on A ASP.net Powered Website</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>ASP.net doesn&#8217;t have many plugins like WordPress. So if you would like to add Lightbox-kind effect on your ASP.net powered website, you will need to do it manually.</p>
<p>Here is how you can do it.</p>
<p>1. Go to this <a href="http://lokeshdhakar.com/projects/lightbox2/#getting-started" target="_blank" rel="noopener noreferrer">Lightbox site</a> and click Download button to download the script package.</p>
<p><a href="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/05/Lightbox-2017-05-02-21_54_59.png" data-rel="lightbox-image-0" data-rl_title="" data-rl_caption="" title=""><img data-recalc-dims="1" fetchpriority="high" decoding="async" class="alignnone size-full wp-image-3469" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/05/Lightbox-2017-05-02-21_54_59.png?resize=490%2C296" alt="" width="490" height="296" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/05/Lightbox-2017-05-02-21_54_59.png?w=490&amp;ssl=1 490w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/05/Lightbox-2017-05-02-21_54_59.png?resize=250%2C151&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/05/Lightbox-2017-05-02-21_54_59.png?resize=450%2C272&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/05/Lightbox-2017-05-02-21_54_59.png?resize=360%2C217&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/05/Lightbox-2017-05-02-21_54_59.png?resize=100%2C60&amp;ssl=1 100w" sizes="(max-width: 490px) 100vw, 490px" /></a></p>
<p>2. Extract the package and save both css and js folder into your website. For example, I created a separate folder called source and saved both folders in it.</p>
<p>3. Add the following three lines at the top of the page in <code>&lt;head&gt;</code> tag.</p>
<pre class="lang:default decode:true ">    &lt;script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"&gt;&lt;/script&gt;
    &lt;script src="/source/js/lightbox.js"&gt;&lt;/script&gt;
    &lt;link href="/source/css/lightbox.css" rel="stylesheet" /&gt;
</pre>
<p>4. Update the link by adding <code>rel="lightbox"</code> and title for image caption. For example,</p>
<pre><code>&lt;a href="images/image-1.jpg" rel="lightbox" title="my caption"&gt;&lt;img src='</code><code>images/image-1.jpg'/&gt;&lt;/a&gt;</code></pre>
<p>That&#8217;s about it, as simple as like that.</p>The post <a href="https://www.kjctech.net/adding-lightbox-on-a-asp-net-powered-website/">Adding Lightbox on A ASP.net Powered Website</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/adding-lightbox-on-a-asp-net-powered-website/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3468</post-id>	</item>
	</channel>
</rss>
