{"id":261,"date":"2023-07-07T08:30:00","date_gmt":"2023-07-07T15:30:00","guid":{"rendered":"https:\/\/dejal.com\/blog\/?p=261"},"modified":"2023-07-07T08:30:51","modified_gmt":"2023-07-07T15:30:51","slug":"time-out-fixed-image-and-blog-themes","status":"publish","type":"post","link":"https:\/\/dejal.com\/blog\/time-out-fixed-image-and-blog-themes\/","title":{"rendered":"Time Out fixed image and blog themes"},"content":{"rendered":"<body><p>I got a support request for <a href=\"https:\/\/dejal.com\/timeout\/\">Time Out<\/a>, my popular break reminder tool, asking to display a fixed image during the break.<\/p>\n<p>Time Out uses HTML pages as break themes, so it is possible to have a fixed image as a theme \u2014 in fact the default theme, <strong>Icon<\/strong>, does just that, with the app icon.<\/p>\n<p>So one way to have a fixed image is to:<\/p>\n<ol>\n<li>Choose the <strong>Reveal Themes<\/strong> command at the end of the <strong>Theme<\/strong> pop-up menu to open the <strong>Themes<\/strong> folder in the <strong>Finder<\/strong>.<\/li>\n<li>Duplicate the <strong>Icon<\/strong> theme folder and give it a new name.<\/li>\n<li>Replace the <strong>icon.png<\/strong> file with your chosen image.<\/li>\n<li>Edit the <strong>index.html<\/strong> to adjust the name and size of the displayed image.<\/li>\n<li>Edit the <strong>Info.json<\/strong> file to give the new theme a unique identifier etc.<\/li>\n<li>Pretty easy. You can edit those files in <strong>TextEdit<\/strong> or any other text editor.<\/li>\n<\/ol>\n<p>If the image is available on some website, it\u2019s actually a little easier. I have created an example theme on the <a href=\"https:\/\/dejal.com\/timeout\/extras\/\">Time Out extras<\/a> page:<\/p>\n<p><a href=\"https:\/\/dejal.com\/timeout\/extras\/themes\/ds-ducks-fish.zip\">Download the Ducks &amp; Fish theme<\/a><\/p>\n<p>You can edit a copy of this theme to use a different image:<\/p>\n<ol>\n<li>Choose the <strong>Reveal Themes<\/strong> command at the end of the <strong>Theme<\/strong> pop-up menu to open the <strong>Themes<\/strong> folder in the <strong>Finder<\/strong>.<\/li>\n<li>Add the <strong>Ducks &amp; Fish<\/strong> theme, if not already.<\/li>\n<li>Duplicate that theme and give it a new name.<\/li>\n<li>Edit the <strong>Info.json<\/strong> file to give the new theme a unique identifier, and change the URL to the desired image.<\/li>\n<\/ol>\n<p><em>(This got me thinking, and I spent an hour or so writing up notes on ways to make adding image-based themes even easier in a future version. I\u2019m always trying to improve the app.)<\/em><\/p>\n<p>While I was at it, I also added four themes to display my four blogs; these are all included with Time Out by default:<\/p>\n<ul>\n<li><strong>Dejal Blog<\/strong>: a theme that simply shows the <a href=\"https:\/\/dejal.com\/blog\/\">Dejal blog<\/a>, so you can read it during your break, to see the latest news about Time Out and other Dejal apps (doesn\u2019t update very often, though, so probably not that exciting for a regular break).<\/li>\n<li><strong>Dejus Blog<\/strong>: a theme that shows <a href=\"https:\/\/dejus.com\/\">my personal blog<\/a>, where I post photos and comments every day. Could be good for a short break a once or twice a day.<\/li>\n<li><strong>Sinclair Trails Blog<\/strong>: a theme to show the <a href=\"https:\/\/sinclairtrails.com\/\">Sinclair Trails blog<\/a>, about my travels around the US in a motorhome, including photos and timelapse videos of driving days, photos of places we stay, and of attractions we visit.<\/li>\n<li><strong>Yellow Cottage Blog<\/strong>: a theme to show the retired <a href=\"https:\/\/yellowcottagehomestead.com\/\">Yellow Cottage Homestead blog<\/a>, about the chickens, ducks, feral cats, bees, and other homestead topics of my former homestead. Could be good for a lunchtime break.<\/li>\n<\/ul>\n<p>If you try those, you might want to set the <strong>Opacity<\/strong> to <strong>100%<\/strong> on the <strong>Break Appearance<\/strong> page.<\/p>\n<p>Time Out isn\u2019t a web browser or feed reader, but since the themes are just web pages, these show some of the interesting things you can do.<\/p>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>I got a support request for Time Out, my popular break reminder tool, asking to display a fixed image during the break. Time Out uses HTML pages as break themes, so it is possible to have a fixed image as a theme \u2014 in fact the default theme, Icon, does just that, with the app [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[16,3],"tags":[],"class_list":["post-261","post","type-post","status-publish","format-standard","hentry","category-faq","category-time-out"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dejal.com\/blog\/wp-json\/wp\/v2\/posts\/261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dejal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dejal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dejal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dejal.com\/blog\/wp-json\/wp\/v2\/comments?post=261"}],"version-history":[{"count":1,"href":"https:\/\/dejal.com\/blog\/wp-json\/wp\/v2\/posts\/261\/revisions"}],"predecessor-version":[{"id":262,"href":"https:\/\/dejal.com\/blog\/wp-json\/wp\/v2\/posts\/261\/revisions\/262"}],"wp:attachment":[{"href":"https:\/\/dejal.com\/blog\/wp-json\/wp\/v2\/media?parent=261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dejal.com\/blog\/wp-json\/wp\/v2\/categories?post=261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dejal.com\/blog\/wp-json\/wp\/v2\/tags?post=261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}