Showing posts with label image. Show all posts
Showing posts with label image. Show all posts

Sunday, August 21, 2016

Kode Related Post with Thumbnail Image Summary

Kode Related Post with Thumbnail Image Summary


Cra Memasang Kode Related Post with Thumbnail Image & Summary (Posting Terkait denga Gambar Thumbnail dan Ringkasan) di Bawah Posting Blog. SEO Friendly & Fast Loading. Keren pula!

Demonya? Ada di bawah posting ini: Related Posts.

Posting Terkait denga Gambar Thumbnail

KODE JAVASCRIPT
Di atas kode </head>

<script type=text/javascript>/*<![CDATA[*/var relnum=0;var relmaxposts=5;var numchars=135;var morelink=" ";function saringtags(r,l){for(var e=r.split("<"),n=0;n<e.length;n++)-1!=e[n].indexOf(">")&&(e[n]=e[n].substring(e[n].indexOf(">")+1,e[n].length));return e=e.join(""),e=e.substring(0,l-1)}function relpostimgthum(r){for(var l=0;l<r.feed.entry.length;l++){var e=r.feed.entry[l];reljudul[relnum]=e.title.$t,postcontent="","content"in e?postcontent=e.content.$t:"summary"in e&&(postcontent=e.summary.$t),relcuplikan[relnum]=saringtags(postcontent,numchars),postimg="media$thumbnail"in e?e.media$thumbnail.url:"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisK5BXX4EnuTTk1CI7v2wd0PyNGW68AqXFBDxlojudqkM7QwfhIEERjf0rNW4i8i_BAUbcc1SbpfXT4TCOm5ZAIQS3OSQ_4k5tswuNjdG85UJ87lVTS3sm30nnt1qzV6qC-ZD3_8nYF_K9/d/noimagethumb.gif",relgambar[relnum]=postimg;for(var n=0;n<e.link.length;n++)if("alternate"==e.link[n].rel){relurls[relnum]=e.link[n].href;break}relnum++}}function contains(r,l){for(var e=0;e<r.length;e++)if(r[e]==l)return!0;return!1}function relatpost(){for(var r=new Array(0),l=new Array(0),e=new Array(0),n=new Array(0),t=0;t<relurls.length;t++)contains(r,relurls[t])||(r.length+=1,r[r.length-1]=relurls[t],l.length+=1,l[l.length-1]=reljudul[t],e.length+=1,e[e.length-1]=relcuplikan[t],n.length+=1,n[n.length-1]=relgambar[t]);reljudul=l,relurls=r,relcuplikan=e,relgambar=n;for(var t=0;t<reljudul.length;t++){var a=Math.floor((reljudul.length-1)*Math.random()),u=reljudul[t],s=relurls[t],i=relcuplikan[t],o=relgambar[t];reljudul[t]=reljudul[a],relurls[t]=relurls[a],relcuplikan[t]=relcuplikan[a],relgambar[t]=relgambar[a],reljudul[a]=u,relurls[a]=s,relcuplikan[a]=i,relgambar[a]=o}for(var g,m=0,h=Math.floor((reljudul.length-1)*Math.random()),c=h,d=document.URL;m<relmaxposts&&(relurls[h]==d||(g="<li class=news-title clearfix>",g+="<a href="+relurls[h]+" rel=nofollow target=_top title="+reljudul[h]+"><img src="+relgambar[h]+" /></a>",g+="<a href="+relurls[h]+" target=_top>"+reljudul[h]+"</a>",g+="<span class=news-text>"+relcuplikan[h]+" ... <a href="+relurls[h]+" target=_top>"+morelink+"</a><span class=news-text>",g+="</li>",document.write(g),m++,m!=relmaxposts))&&(h<reljudul.length-1?h++:h=0,h!=c););}var reljudul=new Array,relurls=new Array,relcuplikan=new Array,relgambar=new Array;/*]]>*/</script>

KODE CSS:
Di atas kode ]]></b:skin> atau </style>

#related_posts{margin-top:15px}
#related_posts h4 {color:#FD4646;margin: 0px 0px 5px;font-size: 130%;font-family: &#39;Oswald&#39;,Arial;font-weight: 500;}
#related_img{margin:0;padding:0;}
#related_img:hover{background:0}
#related_img ul{list-style-type:none;margin:0;padding:0}
#related_img li{min-height:62px;border-bottom:1px solid #f1f1f1;list-style:none;margin:0 0 5px;padding:5px;}
#related_img li a{color:#2672a0;}
#related_img li a:hover{text-decoration:underline}
#related_img .news-title{display:block;font-weight:bold!important;margin-bottom:5px;font-size:14px;}
#related_img .news-text{display:block;text-align:left;font-weight:400;text-transform:none;color:#333;font-size:12px;line-height:16px}
#related_img img{float:left;margin-right:7px;padding:2px;width:60px;height:60px;max-width:100%;background:#fff}

KODE HTML/XML:
Posisi Related Posts. Di bawah <data:post.body/> atau di atas <div class=post-footer> atau di mana saja antara kode <b:includable id=post var=post/> dan <b:includable id=mobile-post var=post/>

<b:if cond=data:blog.pageType == &quot;item&quot;>
      <div id=related_posts>
        <h4>Related Posts:</h4>
        <b:loop values=data:post.labels var=label>
          <script expr_src=&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=relpostimgthum&amp;max-results=50&quot; type=text/javascript/>
        </b:loop>
        <ul id=related_img>
          <script type=text/javascript>relatpost();</script>
        </ul>
      </div>
</b:if>

Anda bisa membuat sendiri Kode Related Post with Thumbnail Image & Summary ini di sumbernya: DTE.*

Available link for download

Read more »

How to Enable or Disable Sign in Screen Background Image in Windows 10

How to Enable or Disable Sign in Screen Background Image in Windows 10


Windows 10 has a new sign in screen that is more modern and touch friendly that also uses the Hero wallpaper as the background by default. 




In this tutorial we will show you how to enable or disable the sign in screen background image for all users in Windows 10.

Note that you must be signed in as an administrator to be able to enable or disable the sign in screen background image.



So to do that on windows 10 final version you should :

 Add and change DWORD value in the registry key below.

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsSystem

DisableLogonBackgroundImage DWORD

0 or delete = enable
1 = disable

Available link for download

Read more »

Thursday, August 4, 2016

Backup Your Bootable USB Installer to Image

Backup Your Bootable USB Installer to Image


If you want to create an image backup from your  bootable USB installer (Linux, Windows 7, Windows 8, 32 bit, 64 bit, Home or Ultimate Edition, etc.), you can use this useful little freeware: "USB Image Tool".
You can create backup to an image file, and restore from it to pendrive when you need the specified USB installer again.





USB Image tool download link.
I read about this tool at 
Tweaking with Vishal.


Available link for download

Read more »

Sunday, July 31, 2016

Customize a boot image that uses Windows PE 4 or Windows PE 10

Customize a boot image that uses Windows PE 4 or Windows PE 10


Use of DISM and WMI to customize an existant Windows PE 10


  1. Copy the boot image (wimpe.wim) from the Windows AIK installation folder (for example, <InstallationPath>Windows AIKToolsPEToolsamd64) to a folder on the computer from which you will customize the boot image. This procedure uses C:WinPEWAIK as the folder name. ( If you have alerady create your own WIM by following this tutorial  you can use them without copying WIM of step 1)
  2. Use DISM to mount the boot image to a local Windows PE folder. For example, type the following command-line:
    dism.exe /mount-wim /wimfile:C:WinPEWAIKwinpe.wim /index:1 /mountdir:C:WinPEMount
    Where C:WinPEWAIK is the folder that contains the boot image and C:WinPEMount is the mounted folder.
    System_CAPS_noteNote
    For more information about DISM, see the Deployment Image Servicing and Management Technical Reference topic in the Windows 7 TechNet Documentation Library.
  3. After you mount the boot image, use DISM to add optional components to the boot image. In Windows PE 3.1, for example, the optional components are located in <InstallationPath>Windows AIKToolsPEToolsamd64WinPE_FPs.
    System_CAPS_noteNote
    This procedure uses the following location for the optional components: C:Program FilesWindows AIKToolsPEToolsamd64WinPE_FPs. The path you use might be different depending on the version and installation options you choose for the Windows AIK.
    Type the following to install the optional components:
    dism.exe /image:C:WinPEMount /add-package /packagepath:"C:Program FilesWindows AIKToolsPEToolsamd64WinPE_FPswinpe-wmi.cab"
    dism.exe /image:C:WinPEMount /add-package /packagepath:"C:Program FilesWindows AIKToolsPEToolsamd64WinPE_FPswinpe-scripting.cab" 
    dism.exe /image:C:WinPEMount /add-package /packagepath:"C:Program FilesWindows AIKToolsPEToolsamd64WinPE_FPswinpe-wds-tools.cab"
    dism.exe /image:C:WinPEMount /add-package /packagepath:"C:Program FilesWindows AIKToolsPEToolsamd64WinPE_FPs<locale>winpe-wmi_<locale>.cab"
    dism.exe /image:C:WinPEMount /add-package /packagepath:"C:Program FilesWindows AIKToolsPEToolsamd64WinPE_FPs<locale>winpe-scripting_<locale>.cab"
    dism.exe /image:C:WinPEMount /add-package /packagepath:"C:Program FilesWindows AIKToolsPEToolsamd64WinPE_FPs<locale>winpe-wds-tools_<locale>.cab"
    Where C:WinPEMount is the mounted folder and locale is the locale for the components. For example, for the en-us locale, you would type:
    dism.exe /image:C:WinPEMount /add-package /packagepath:"C:Program FilesWindows AIKToolsPEToolsamd64WinPE_FPsen-uswinpe-wmi_en-us.cab"
    dism.exe /image:C:WinPEMount /add-package /packagepath:"C:Program FilesWindows AIKToolsPEToolsamd64WinPE_FPs en-uswinpe-scripting_en-us.cab"
    dism.exe /image:C:WinPEMount /add-package /packagepath:"C:Program FilesWindows AIKToolsPEToolsamd64WinPE_FPs en-uswinpe-wds-tools_en-us.cab"
    System_CAPS_tipTip
    For more information about the different packages that you can add to the boot image, see the Add a Package to a Windows PE Image topic in the Windows 7 TechNet Documentation Library.
  4. Use DISM to add specific drivers to the boot image, when required. Type the following to add drivers to the boot image, if required:
    dism.exe /image:C:WinPEMount /add-driver /driver:<path to driver .inf file>
    Where C:WinPEMount is the mounted folder.
  5. Type the following to unmount the boot image file and commit the changes.
    dism.exe /unmount-wim /mountdir:C:WinPEMount /commit
    Where C:WinPEMount is the mounted folder.
  6. Add the updated boot image to Configuration Manager to make it available to use in your task sequences. Use the following steps to import the updated boot image:
    1. In the Configuration Manager console, click Software Library.
    2. In the Software Library workspace, expand Operating Systems, and then click Boot Images.
    3. On the Home tab, in the Create group, click Add Boot Image to start the Add Boot Image Wizard.
    4. On the Data Source page, specify the following options, and then click Next.
      • In the Path box, specify the path to the updated boot image file. The specified path must be a valid network path in the UNC format. For example: <servername><WinPEWAIK share>winpe.wim.
      • Select the boot image from the Boot Image drop-down list. If the WIM file contains multiple boot images, each image is listed.
    5. On the General page, specify the following options, and then click Next.
      • In the Name box, specify a unique name for the boot image.
      • In the Version box, specify a version number for the boot image.
      • In the Comment box, specify a brief description of how the boot image is used.
    6. Complete the wizard.
  7. You can enable a command shell in the boot image to debug and troubleshoot it in Windows PE. Use the following steps to enable the command shell.
    1. In the Configuration Manager console, click Software Library.
    2. In the Software Library workspace, expand Operating Systems, and then click Boot Images.
    3. Find the new boot image in the list and identify the package ID for the image. You can find the package ID in the Image ID column for the boot image.
    4. From a command prompt, type wbemtest to open the Windows Management Instrumentation Tester.
    5. Type <SMS Provider Computer> ootsmssite_<sitecode> in Namespace, and then click Connect.
    6. Click Open Instance, type sms_bootimagepackage.packageID="<packageID>", and then click OK. For packageID, enter the value that you identified in step 3.
    7. Click Refresh Object, and then click EnableLabShell in the Properties pane.
    8. Click Edit Property, change the value to TRUE, and click Save Property.
    9. Click Save Object, and then exit the Windows Management Instrumentation Tester.
  8. You must distribute the boot image to distribution points, distribution point groups, or to collections that are associated with distribution point groups before you can use the boot image in a task sequence. Use the following steps to distribute the boot image.
    1. In the Configuration Manager console, click Software Library.
    2. In the Software Library workspace, expand Operating Systems, and then click Boot Images.
    3. Click the boot image identified in step 3.
    4. On the Home tab, in the Deployment group, click Update Distribution Points.

Available link for download

Read more »