<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: iftikhar hussain</title>
    <description>The latest articles on DEV Community by iftikhar hussain (@iftikhar).</description>
    <link>https://dev.to/iftikhar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F289664%2F58c41cb5-b5e4-4655-b498-57770b749dca.jpg</url>
      <title>DEV Community: iftikhar hussain</title>
      <link>https://dev.to/iftikhar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iftikhar"/>
    <language>en</language>
    <item>
      <title>Enhancing Your Website with Online Image Crop Tools</title>
      <dc:creator>iftikhar hussain</dc:creator>
      <pubDate>Sun, 13 Aug 2023 13:31:48 +0000</pubDate>
      <link>https://dev.to/iftikhar/enhancing-your-website-with-online-image-crop-tools-od8</link>
      <guid>https://dev.to/iftikhar/enhancing-your-website-with-online-image-crop-tools-od8</guid>
      <description>&lt;p&gt;Images are a vital part of any modern website. High-quality images help convey information, set the visual style, and engage visitors. However, most images need some editing before being display-ready for the web. One of the most common editing tasks is cropping images to highlight key subjects and fit specific layouts.&lt;/p&gt;

&lt;p&gt;Luckily, there are many great online image crop tools that can quickly edit images right in your browser. Here are some top options:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://mozjpeg.com/crop-image"&gt;Moz crop tool&lt;/a&gt;This tool from Mozilla focuses on efficient JPEG cropping. It's fast, easy to use, and open-source.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.canva.com/photo-editor/"&gt;Canva&lt;/a&gt; Canva's free photo editor has handy cropping options along with other image editing tools. Just upload a photo then drag to crop.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.picmonkey.com/"&gt;PicMonkey&lt;/a&gt; PicMonkey is an full-featured online photo editor with a simple intuitive interface. The crop tool lets you set specific dimensions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.photopea.com/"&gt;Photopea&lt;/a&gt; This advanced online image editor resembles Photoshop with powerful cropping capabilities. Use guides and ratios to customize crops.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.fotor.com/"&gt;Fotor&lt;/a&gt; Fotor provides AI-powered automated cropping along with manual crop options and other editing features.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://resizeimage.net/"&gt;ResizeImage.net&lt;/a&gt; A simple site that focuses just on cropping and resizing images quickly.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once you've cropped your images, you'll need to add them to your website code. Here is an example using HTML:&lt;br&gt;
&lt;code&gt;&amp;lt;img src="cool-photo-cropped.jpg" alt="Cropped photo" width="400" height="300"&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; tag embeds an image in your HTML document and the src attribute points to the image file. Set alternate text with the alt attribute and dimensions with width and height.&lt;/p&gt;

&lt;p&gt;The key to cropping is focusing on the most important visual details and optimizing for the layout. These online tools make it easy to crop on the fly and save optimized versions of your images to use on your site. Sharp, well-cropped images make for more engaging and effective websites.&lt;/p&gt;

&lt;p&gt;Let me know if you would like me to expand or modify the post further. I can provide additional details on implementing cropped images into web pages.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>imagecrop</category>
      <category>programming</category>
      <category>website</category>
    </item>
    <item>
      <title>Photos Crop For Social Media</title>
      <dc:creator>iftikhar hussain</dc:creator>
      <pubDate>Mon, 24 Jul 2023 19:28:04 +0000</pubDate>
      <link>https://dev.to/iftikhar/photos-crop-for-social-media-1nfb</link>
      <guid>https://dev.to/iftikhar/photos-crop-for-social-media-1nfb</guid>
      <description>&lt;p&gt;In today’s visually-driven social media landscape, the right image can make all the difference in capturing your audience’s attention. Whether you’re an influencer, a marketer, or simply someone who loves sharing moments on social platforms, having the perfect image size is crucial for maximum impact. To help you achieve just that, we’ve compiled a list of the top 10 best free image croppers that will make cropping photos for social media a breeze. &lt;/p&gt;

&lt;p&gt;Let’s dive in:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Mozjpeg (&lt;a href="https://www.mozjpeg.com/"&gt;https://www.mozjpeg.com/&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A powerful tool to edit resize, crop and compress jpeg and png images.&lt;br&gt;
Using mozjpeg makes your website faster and save bandwidth. it optimizes your images 50–80% without any quality loss,&lt;/p&gt;

&lt;p&gt;🖼️ Upgrade your design game with our All-in-One Image Toolkit! 🎨 Easily crop, colorize, and resize images to create stunning visuals. No more boring pictures — make your content shine!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--NZL18nje--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1hrdsqhds0ri8kykuzmd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--NZL18nje--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1hrdsqhds0ri8kykuzmd.png" alt="Image description" width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Fotor (&lt;a href="https://www.fotor.com/"&gt;https://www.fotor.com/&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Fotor’s image cropping tool is packed with features to enhance your photos and adjust them to the ideal size for your favorite social media platforms. Its user-friendly interface makes it an excellent choice for beginners.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cl6qebPT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ojogfryqrql0dhk82mgn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cl6qebPT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ojogfryqrql0dhk82mgn.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Canva (&lt;a href="https://www.canva.com/"&gt;https://www.canva.com/&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Canva needs no introduction; it’s a popular graphic design platform that also offers an easy-to-use image cropper. With pre-defined social media templates and intuitive tools, you can crop your photos to fit perfectly on various platforms.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s---XDSaE9B--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ouy0y854iezppwndjx2x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---XDSaE9B--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ouy0y854iezppwndjx2x.png" alt="Image description" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Pixlr (&lt;a href="https://pixlr.com/"&gt;https://pixlr.com/&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Pixlr offers a robust online photo editor with an efficient cropping tool. It allows you to crop, resize, and edit your images to create stunning visuals for your social media posts.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--AZ2g53kx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/896hk697d1070mxgw6mu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AZ2g53kx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/896hk697d1070mxgw6mu.png" alt="Image description" width="512" height="250"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Croppola (&lt;a href="https://croppola.com/"&gt;https://croppola.com/&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Croppola is designed to automatically crop your photos based on the composition, ensuring your subject remains the focal point. You can specify the aspect ratio and let Croppola do the rest.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--I64Sk2wq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zroeqcpadf8759xnp3xb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--I64Sk2wq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zroeqcpadf8759xnp3xb.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>imagecropp</category>
      <category>javascript</category>
      <category>programming</category>
      <category>socialmedia</category>
    </item>
    <item>
      <title>A Beginner's Guide to jQuery Chaining</title>
      <dc:creator>iftikhar hussain</dc:creator>
      <pubDate>Mon, 24 Jul 2023 11:51:32 +0000</pubDate>
      <link>https://dev.to/iftikhar/a-beginners-guide-to-jquery-chaining-5f3l</link>
      <guid>https://dev.to/iftikhar/a-beginners-guide-to-jquery-chaining-5f3l</guid>
      <description>&lt;p&gt;jQuery chaining is a useful technique for connecting multiple methods calls in a single statement. This results in shorter and more readable code compared to applying the methods separately.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--LPxDbW7e--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5fdgyxpmgn98vb4hklgh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LPxDbW7e--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5fdgyxpmgn98vb4hklgh.png" alt="Image description" width="800" height="516"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As you can see, the chaining version is much cleaner and concise. So how does this work under the hood?&lt;/p&gt;

&lt;p&gt;The key things to know about chaining:&lt;/p&gt;

&lt;p&gt;Each method call starts by selecting the element, in this case &lt;code&gt;$('#elem')&lt;/code&gt;&lt;br&gt;
    The methods are chained together using periods&lt;br&gt;
    No need to store the return value in a variable, since each method works on the return value of the previous one&lt;/p&gt;

&lt;p&gt;This is possible because jQuery methods return the original jQuery object. So &lt;code&gt;$('#elem').css()&lt;/code&gt; returns the &lt;code&gt;$('#elem')&lt;/code&gt; object, allowing us to call the next method &lt;code&gt;.hide()&lt;/code&gt; on it.&lt;/p&gt;

&lt;p&gt;The end result is we can avoid reselecting the element over and over, making the code compact and readable.&lt;/p&gt;

&lt;p&gt;Some common use cases where chaining helps:&lt;/p&gt;

&lt;p&gt;Modifying style - &lt;code&gt;chaining css()&lt;/code&gt;, &lt;code&gt;addClass()&lt;/code&gt;, &lt;code&gt;removeClass()&lt;/code&gt; etc&lt;br&gt;
    Animations - &lt;code&gt;chaining animate()&lt;/code&gt;, &lt;code&gt;fadeOut()&lt;/code&gt;, &lt;code&gt;slideUp()&lt;/code&gt; one after another&lt;br&gt;
    DOM manipulation - &lt;code&gt;chaining append()&lt;/code&gt;, &lt;code&gt;prepend()&lt;/code&gt;, &lt;code&gt;remove()&lt;/code&gt; to build a structure&lt;/p&gt;

&lt;p&gt;Chaining isn't always necessary, but it's a good technique to have in your toolbox for jQuery code. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Let me know in the comments if you have any other questions!&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>jquery</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>Top 3 Image compression tool for web/mobile apps.</title>
      <dc:creator>iftikhar hussain</dc:creator>
      <pubDate>Fri, 06 Nov 2020 21:03:45 +0000</pubDate>
      <link>https://dev.to/iftikhar/top-3-image-compression-tool-for-web-mobile-apps-1kcn</link>
      <guid>https://dev.to/iftikhar/top-3-image-compression-tool-for-web-mobile-apps-1kcn</guid>
      <description>&lt;p&gt;I recently got interested in compressing images on the client-side while I was working on a client project.&lt;br&gt;
so I searched on google for the best online compression tool, after spent much time figuring out what is the best tool for using compression.&lt;/p&gt;

&lt;p&gt;so here is the list of the best website I found:&lt;/p&gt;

&lt;p&gt;1) TinyPng&lt;br&gt;
It is a great online tool for compressing images, you can compress PNG, JPEG types image&lt;br&gt;
link: &lt;a href="https://tinypng.com"&gt;https://tinypng.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2) mozJpeg&lt;br&gt;
It is also a great tool for compression images but the good thing is you can compress images without quality loss, also you can edit and resize your images online with this tool.&lt;br&gt;
Another Best feature is its technology is browser-based(means you images won't be upload) so you don't need to worry about the privacy of your images, and save a lot of your bandwidth.&lt;br&gt;
&lt;a href="https://mozjpeg.com"&gt;https://mozjpeg.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3) compressjpeg&lt;br&gt;
it is just like the tinyPng tool, it provides good results but there is a google ad.&lt;br&gt;
you can compress both types of images PNG and JPEG.&lt;br&gt;
&lt;a href="https://compressjpeg.com"&gt;https://compressjpeg.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I provide you the links you can use any of these tools to compress images for web/mobile apps etc&lt;br&gt;
but I recommend you to use &lt;a href="https://mozjpeg.com"&gt;https://mozjpeg.com&lt;/a&gt; because it is best for me and after using it you'll like it&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
