How to add Unsplash images to your blog without downloading
TLDRIn this informative video, the presenter teaches viewers how to integrate Unsplash images directly into their blog posts without the need to download and host them on their own server. The process involves using the image's URL from Unsplash and embedding it into the blog's HTML code. The video demonstrates how to use both random and fixed images, and how to adjust the image dimensions to fit the blog's layout. The presenter also teases future content on creating a Jekyll website and customizing it with themes and various features.
Takeaways
- 🌐 Use Unsplash for free high-resolution photos in your blog without downloading them.
- 🔗 Directly link your blog images to Unsplash images to save on your hosting service's storage space.
- 📚 Learn how to set a teaser or preview image for your blog post using Unsplash's image URL.
- 🔄 Refresh your website to see a random Unsplash image change for dynamic content.
- 📎 For a fixed image, add the Unsplash image ID to the source code to maintain consistency.
- 🔍 Search for specific images on Unsplash and copy the ID to link to your blog post.
- 📏 Adjust the dimensions of the Unsplash image by appending the desired size to the URL.
- 🖼️ Customize the image size to fit your blog's layout, such as 300x300 or 600x300.
- 💻 Find and use specific images, like a computer, by searching on Unsplash and linking them with the correct ID.
- 📝 Change the description of the image to fit the context of your blog post.
- 🚀 Stay tuned for future videos on creating a Jekyll website and setting up your local environment.
Q & A
What is the purpose of the video?
-The video demonstrates how to add images from Unsplash to your blog without downloading them, thus saving hosting space.
What is Unsplash?
-Unsplash is a website that provides free high-resolution photos which can be used in various projects, including blogs.
Why is it beneficial to link directly to an Unsplash image instead of downloading it?
-Linking directly to an Unsplash image saves storage space on your hosting service, as you do not need to host the image yourself.
How can you insert a random image from Unsplash into your blog post?
-You can insert a random image by using the HTTPS source from Unsplash.com and adding it to your blog post's code.
How do you use a specific image from Unsplash in your blog post?
-To use a specific image, find the image on Unsplash, note its ID, and then use the ID in the source code for your blog post.
What if you want to fix the dimensions of the Unsplash image in your blog post?
-You can specify the dimensions by appending the desired width and height to the image URL in your blog post's code.
Can you change the dimensions of the random image to suit your blog's layout?
-Yes, you can easily adjust the dimensions of the random image by specifying a new width and height in the blog post's code.
How do you find a specific image on Unsplash to use in your blog post?
-You can search for images on Unsplash using keywords, and once you find the desired image, copy its ID and use it in your blog post's code.
What is the benefit of using the source.unsplash.com link for images?
-Using the source.unsplash.com link allows you to directly embed an image from Unsplash, ensuring that it displays correctly and is updated if the image changes on Unsplash.
How does the process of adding Unsplash images to your blog help with managing hosting resources?
-By linking to Unsplash images rather than hosting them, you conserve your hosting service's storage space and potentially reduce costs associated with data transfer.
Will the images from Unsplash always display the same in your blog post?
-If you link to a specific image using its ID, it will remain the same. However, if you use a random image feature, the image may change each time the page is refreshed.
Is there a way to ensure that the Unsplash image fits well with the blog's aesthetic?
-Yes, you can search for images on Unsplash that match your blog's theme and aesthetic, and use the image's ID to ensure it fits well within your blog's design.
Outlines
📸 Linking Unsplash Images to Your Blog Posts
The first paragraph of the video script introduces viewers to the process of embedding images from Unsplash.com directly into blog posts. The speaker explains the benefits of using Unsplash for free high-resolution photos and suggests linking directly to Unsplash images rather than downloading and hosting them, which saves storage space. The tutorial demonstrates how to set a teaser or preview image for a blog post using the image's HTTPS source from Unsplash. It also covers how to use random images for variety and how to specify a fixed image by its ID. Additionally, the paragraph shows how to adjust the dimensions of the images to fit specific requirements. The speaker concludes by emphasizing the ease of linking Unsplash images without the need for hosting them on one's own site.
🛠️ Creating a Jekyll Website
The second paragraph shifts the focus to the creation of a Jekyll website. The speaker mentions that they have set up a local website and will guide viewers through the process of creating a Jekyll site in future videos. They reference using a modified theme called 'Minimal Mistakes' and express their intention to start from the basics, teaching how to install Jekyll on a local computer, build a website, add images, create blog posts, organize collections, and apply different themes. The speaker encourages viewers to stay tuned for these upcoming tutorials and to subscribe to the channel for updates.
Mindmap
Keywords
💡Unsplash
💡Blog
💡Teaser Image
💡Hosting Service
💡Code
💡Image ID
💡Random Image
💡Dimensions
💡Jekyll
💡Theme
💡SEO
Highlights
Unsplash provides free high-resolution photos for blog use without the need for downloading.
Directly link your blog to Unsplash images to save storage space on your hosting service.
Demonstration of linking local website images to the Unsplash class.
Using HTTPS source from Unsplash to set a teaser or preview image for blog posts.
The option to use a random image from Unsplash for dynamic content.
How to set a fixed image for a blog post by using the image ID from Unsplash.
Searching for a specific image on Unsplash and obtaining its unique ID.
Linking a blog post to a specific Unsplash image using the image ID and Unsplash URL format.
Automatic refresh of the blog post to display the new linked image.
Adjusting the dimensions of the linked Unsplash image to fit the blog post layout.
Specifying image dimensions such as 300x300 or 600x300 for a custom look.
Finding and using a specific image, like a computer, from Unsplash with the correct dimensions.
Changing the description of the linked image to fit the blog post's theme.
Avoiding the need to host images on your own site by using Unsplash's hosting.
Future videos will teach how to create a Jekyll website and set it up locally.
Introduction to using the 'Minimal Mistakes' theme for Jekyll websites.
Guidance on installing Jekyll and building up websites from scratch.
Instructions on adding images, creating blog posts, collections, and themes to a website.