<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>midnightchills</title>
  <link>https://midnightchills.dreamwidth.org/</link>
  <description>midnightchills - Dreamwidth Studios</description>
  <lastBuildDate>Sun, 02 Apr 2023 03:16:12 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>midnightchills</lj:journal>
  <lj:journaltype>community</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/15600532/3977960</url>
    <title>midnightchills</title>
    <link>https://midnightchills.dreamwidth.org/</link>
    <width>100</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>https://midnightchills.dreamwidth.org/783.html</guid>
  <pubDate>Sun, 02 Apr 2023 03:16:12 GMT</pubDate>
  <title>dw tip: fake cuts</title>
  <link>https://midnightchills.dreamwidth.org/783.html</link>
  <description>Posted by: &lt;span lj:user=&apos;hollowhearts&apos; style=&apos;white-space: nowrap;&apos; class=&apos;ljuser&apos;&gt;&lt;a href=&apos;https://hollowhearts.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://hollowhearts.dreamwidth.org/&apos;&gt;&lt;b&gt;hollowhearts&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-top:0;&quot;&gt;Short post but a resource I made for myself to refer back to and thought could be helpful for some - I&apos;ve recently delved back into fake cuts but ended up stymied by how to make multiple fake cuts in one post. Surely that should be possible! And it is, but there&apos;s an extra couple tags you have to add to make it work.&lt;/div&gt;
&lt;div style=&quot;text-align:center;padding:1em;margin:1em auto 0 auto;width:70%;&quot;&gt;&amp;gt; &lt;a href=&quot;https://midnightchills.dreamwidth.org/783.html#cut1&quot;&gt;follow the fake cut!&lt;/a&gt; &amp;lt;&lt;span style=&quot;display:none;&quot;&gt;&lt;span class=&quot;cut-wrapper&quot;&gt;&lt;span style=&quot;display: none;&quot; id=&quot;span-cuttag___1&quot; class=&quot;cuttag&quot;&gt;&lt;/span&gt;&lt;b class=&quot;cut-open&quot;&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;cut-text&quot;&gt;&lt;a href=&quot;https://midnightchills.dreamwidth.org/783.html#cutid1&quot;&gt;Read more...&lt;/a&gt;&lt;/b&gt;&lt;b class=&quot;cut-close&quot;&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style=&quot;display: none;&quot; id=&quot;div-cuttag___1&quot; aria-live=&quot;assertive&quot;&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=midnightchills&amp;ditemid=783&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://midnightchills.dreamwidth.org/783.html</comments>
  <category>resources: dreamwidth tips</category>
  <lj:security>public</lj:security>
  <lj:poster>hollowhearts</lj:poster>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://midnightchills.dreamwidth.org/331.html</guid>
  <pubDate>Mon, 04 Apr 2022 23:19:19 GMT</pubDate>
  <title>code: tumblr photosets</title>
  <link>https://midnightchills.dreamwidth.org/331.html</link>
  <description>Posted by: &lt;span lj:user=&apos;hollowhearts&apos; style=&apos;white-space: nowrap;&apos; class=&apos;ljuser&apos;&gt;&lt;a href=&apos;https://hollowhearts.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://hollowhearts.dreamwidth.org/&apos;&gt;&lt;b&gt;hollowhearts&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;



&lt;div style=&quot;width: clamp(50px, 100%, 540px);margin:0 auto;&quot;&gt;



&lt;div style=&quot;display: grid;grid-template-columns: repeat(1, 1fr);grid-template-rows: repeat(1, auto);grid-gap:0px 4px;padding:2px 0px;&quot;&gt;
&lt;a href=&quot;LINK&quot;&gt;&lt;img src=&quot;https://hollowhearts.dreamwidth.org/file/1648.gif&quot; alt=&quot;ALT TEXT&quot; style=&quot;width: 100%;height: 100%; object-fit: cover; object-position:50% 50%;&quot;&gt;&lt;/a&gt;
&lt;/div&gt;





&lt;div style=&quot;display: grid;grid-template-columns: repeat(2, 1fr);grid-template-rows: repeat(2, auto);grid-gap:0px 4px;padding:2px 0px;&quot;&gt;
&lt;a href=&quot;LINK&quot;&gt;&lt;img src=&quot;https://hollowhearts.dreamwidth.org/file/1877.gif&quot; alt=&quot;ALT TEXT&quot; style=&quot;width: 100%;height: 100%; object-fit: cover; object-position:50% 50%;&quot;&gt;&lt;/a&gt;
&lt;a href=&quot;LINK&quot;&gt;&lt;img src=&quot;https://hollowhearts.dreamwidth.org/file/770.gif&quot; alt=&quot;ALT TEXT&quot; style=&quot;width: 100%;height: 100%; object-fit: cover; object-position:50% 50%;&quot;&gt;&lt;/a&gt;
&lt;/div&gt;





&lt;div style=&quot;display: grid;grid-template-columns: repeat(3, 1fr);grid-template-rows: repeat(3, auto);grid-gap:0px 4px;padding:2px 0px;&quot;&gt;
&lt;a href=&quot;LINK&quot;&gt;&lt;img src=&quot;https://hollowhearts.dreamwidth.org/file/1386.gif&quot; alt=&quot;ALT TEXT&quot; style=&quot;width: 100%;height: 100%; object-fit: cover; object-position:50% 50%;&quot;&gt;&lt;/a&gt;
&lt;a href=&quot;LINK&quot;&gt;&lt;img src=&quot;https://hollowhearts.dreamwidth.org/file/503.gif&quot; alt=&quot;ALT TEXT&quot; style=&quot;width: 100%;height: 100%; object-fit: cover; object-position:50% 50%;&quot;&gt;&lt;/a&gt;
&lt;a href=&quot;LINK&quot;&gt;&lt;img src=&quot;https://hollowhearts.dreamwidth.org/file/545.gif&quot; alt=&quot;ALT TEXT&quot; style=&quot;width: 100%;height: 100%; object-fit: cover; object-position:50% 50%;&quot;&gt;&lt;/a&gt;
&lt;/div&gt;





&lt;div style=&quot;font-size:.8em; text-align:right&quot;&gt;some optional text for photo attribution or whatever else&lt;/div&gt;



&lt;/div&gt;
	

&lt;br&gt;
&lt;hr&gt;
&lt;br&gt;
I hope nobody else has made this yet? I searched around quite a bit for something like this, but never found exactly what I wanted. So I made it myself! It&apos;s not an overly complicated code but it is something I&apos;ve wanted for a while and I hope some others can get some use out of it too! 
&lt;br&gt;&lt;br&gt;
Anyway, this html code replicates Tumblr&apos;s photoset format, and uses the exact same dimensions that Tumblr&apos;s photosets do. So that is its primary intent, but with some tweaks this can be used for a photo gallery display of any size.
&lt;br&gt;&lt;br&gt;
These photosets are also responsive, they&apos;ll shrink down proportionally on phones and smaller screens. This can make rows with three images a little hard to see but at least it won&apos;t break your layout :&apos;)
&lt;br&gt;&lt;br&gt;
&lt;center&gt;&lt;textarea&gt;&amp;lt;!-- TUMBLR COPYCAT PHOTOSET CODE - midnightchills@dreamwidth --&amp;gt;

&amp;lt;!-- CONTAINER --&amp;gt;

&amp;lt;div style=&quot;width: clamp(50px, 100%, 540px);margin:0 auto;&quot;&amp;gt;

&amp;lt;!-- ONE IMAGE ---&amp;gt;

&amp;lt;div style=&quot;display: grid;grid-template-columns: repeat(1, 1fr);grid-template-rows: repeat(1, auto);grid-gap:0px 4px;padding:2px 0px;&quot;&amp;gt;
&amp;lt;a href=&quot;LINK&quot;&amp;gt;&amp;lt;img src=&quot;IMG SRC LINK&quot; alt=&quot;ALT TEXT&quot; style=&quot;width: 100%;height: 100%; object-fit: cover; object-position:50% 50%;&quot;&amp;gt;&amp;lt;/a&amp;gt;
&amp;lt;/div&amp;gt;

&amp;lt;!-- ONE IMAGE END ---&amp;gt;

&amp;lt;!-- TWO IMAGES ---&amp;gt;

&amp;lt;div style=&quot;display: grid;grid-template-columns: repeat(2, 1fr);grid-template-rows: repeat(2, auto);grid-gap:0px 4px;padding:2px 0px;&quot;&amp;gt;
&amp;lt;a href=&quot;LINK&quot;&amp;gt;&amp;lt;img src=&quot;IMG SRC LINK&quot; alt=&quot;ALT TEXT&quot; style=&quot;width: 100%;height: 100%; object-fit: cover; object-position:50% 50%;&quot;&amp;gt;&amp;lt;/a&amp;gt;
&amp;lt;a href=&quot;LINK&quot;&amp;gt;&amp;lt;img src=&quot;IMG SRC LINK&quot; alt=&quot;ALT TEXT&quot; style=&quot;width: 100%;height: 100%; object-fit: cover; object-position:50% 50%;&quot;&amp;gt;&amp;lt;/a&amp;gt;
&amp;lt;/div&amp;gt;

&amp;lt;!-- TWO IMAGES END ---&amp;gt;

&amp;lt;!-- THREE IMAGES ---&amp;gt;

&amp;lt;div style=&quot;display: grid;grid-template-columns: repeat(3, 1fr);grid-template-rows: repeat(3, auto);grid-gap:0px 4px;padding:2px 0px;&quot;&amp;gt;
&amp;lt;a href=&quot;LINK&quot;&amp;gt;&amp;lt;img src=&quot;IMG SRC LINK&quot; alt=&quot;ALT TEXT&quot; style=&quot;width: 100%;height: 100%; object-fit: cover; object-position:50% 50%;&quot;&amp;gt;&amp;lt;/a&amp;gt;
&amp;lt;a href=&quot;LINK&quot;&amp;gt;&amp;lt;img src=&quot;IMG SRC LINK&quot; alt=&quot;ALT TEXT&quot; style=&quot;width: 100%;height: 100%; object-fit: cover; object-position:50% 50%;&quot;&amp;gt;&amp;lt;/a&amp;gt;
&amp;lt;a href=&quot;LINK&quot;&amp;gt;&amp;lt;img src=&quot;IMG SRC LINK&quot; alt=&quot;ALT TEXT&quot; style=&quot;width: 100%;height: 100%; object-fit: cover; object-position:50% 50%;&quot;&amp;gt;&amp;lt;/a&amp;gt;
&amp;lt;/div&amp;gt;

&amp;lt;!-- THREE IMAGES END ---&amp;gt;

&amp;lt;!-- CREDIT ---&amp;gt;

&amp;lt;div style=&quot;font-size:.8em; text-align:right&quot;&amp;gt;CREDIT TEXT&amp;lt;/div&amp;gt;

&amp;lt;!-- CREDIT END ---&amp;gt;

&amp;lt;/div&amp;gt;
	
&amp;lt;!-- CONTAINER END --&amp;gt;&lt;/textarea&gt;&lt;/center&gt;
&lt;br&gt;
&lt;details&gt;&lt;summary style=&quot;background-color:#eee;padding:.5em;&quot;&gt;&lt;b&gt;Instructions&lt;/b&gt;&lt;/summary&gt;
&lt;br&gt;
1. Your most likely use for this will be in the body of a post, so before you begin make sure you&apos;re in the HTML tab of the text editor and have ticked the box on the top right that says &quot;Disable Auto-Formatting&quot;. This will prevent the text editor from inserting a bunch of page breaks and other stuff you don&apos;t want.
&lt;br&gt;&lt;br&gt;
2. Decide how you want to lay out your gifs. When you&apos;re making your rows, make sure to copy the entire section from where it says &lt;code&gt;&amp;lt;!--[ONE/TWO/THREE] IMAGES--&amp;gt;&lt;/code&gt; to &lt;code&gt;&amp;lt;!--[ONE/TWO/THREE] IMAGES END--&amp;gt;&lt;/code&gt;. Each one of those sections defines a row, so it&apos;s important not to miss any chunks!
&lt;br&gt;&lt;br&gt;
3. Go through and paste the links to your pictures where it says &quot;PIC LINK&quot;. If you want the image to be clickable to its source (or to direct somewhere else), paste your desired link where it says &quot;LINK&quot;. If you don&apos;t want your image to link anywhere, delete &lt;code&gt;&amp;lt;a href=&quot;LINK&quot;&amp;gt;&lt;/code&gt; and its corresponding &lt;code&gt;&amp;lt;/a&amp;gt;&lt;/code&gt; 
&lt;br&gt;&lt;br&gt;
4. If you want alt text replace the ALT TEXT with whatever you want to say, if you don&apos;t want any delete this section of code &lt;code&gt;alt=&quot;ALT TEXT&quot;&lt;/code&gt;.
&lt;br&gt;&lt;br&gt;
5. If you don&apos;t want the &quot;credit&quot; line, delete &lt;code&gt;&amp;lt;!--CREDIT--&amp;gt;&lt;/code&gt; to &lt;code&gt;&amp;lt;!--CREDIT END--&amp;gt;&lt;/code&gt;
&lt;/details&gt;
&lt;br&gt;
&lt;details&gt;&lt;summary style=&quot;background-color:#eee;padding:.5em;&quot;&gt;&lt;b&gt;Notes&lt;/b&gt;&lt;/summary&gt;
&lt;br&gt;
- Ideal image widths are the same as Tumblr (as of 2022): 540px (one image), 268px (two images), and 177px (3 images)
&lt;br&gt;&lt;br&gt;
- The max photoset width is set to 540px by default, so it won&apos;t exceed 540px even in a post that&apos;s the same width as your screen. If you want a wider gallery just change the container size to 100% (which will fill your entire post width) or specify a specific pixel width. Changing the max post width will change your ideal image widths so adjust accordingly! 
&lt;br&gt;&lt;br&gt;
- If you have multiple images side by side with varying heights it&apos;ll take the height of the tallest image in the row and scale the others to match
&lt;br&gt;&lt;br&gt;
- If one image is a different aspect ratio than the other(s) in a row beside it, it might be cropped. You can manage how your image is being cropped by changing the &quot;object position&quot; values (refer &lt;a href=&quot;https://www.w3schools.com/cssref/css3_pr_object-position.asp&quot;&gt;here&lt;/a&gt; for property values)
&lt;br&gt;&lt;br&gt;
- the gutter is 4px, adjust the &quot;grid gap&quot; and &quot;padding&quot; values if you want to change how far your images are spaced apart.
&lt;/details&gt;
&lt;br&gt;
&lt;div style=&quot;background-color:#eee;padding:1em;text-align:center;&quot;&gt;&lt;div style=&quot;font-weight: bold;padding-bottom:.5em;&quot;&gt;Policy&lt;/div&gt;
Use this as a base, edit as you want, credit not necessary! I just hope to inspire people to post their lovely photosets here on Dreamwidth as well.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=midnightchills&amp;ditemid=331&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://midnightchills.dreamwidth.org/331.html</comments>
  <category>mine: codes</category>
  <lj:security>public</lj:security>
  <lj:poster>hollowhearts</lj:poster>
  <lj:reply-count>16</lj:reply-count>
</item>
</channel>
</rss>
