• Home
  • Contact Us !
  • Privacy Policy
Snipblog
  • Home
  • News
  • Mobile
  • Internet News
  • Social Media
  • Real Estate
  • Gadgets
  • Education
  • Technology
  • Finance
  • Car 2K17-2K18
No Result
View All Result
  • Home
  • News
  • Mobile
  • Internet News
  • Social Media
  • Real Estate
  • Gadgets
  • Education
  • Technology
  • Finance
  • Car 2K17-2K18
No Result
View All Result
Snipblog
No Result
View All Result
Home News

Linking a picture in your post to a website

Loknath Das by Loknath Das
November 25, 2021
in News
0
Linking a picture in your post to a website
0
SHARES
0
VIEWS
Share on FacebookShare on Twitter

By default, when a picture in your post is clicked, the file that is used to load the picture is opened, in a new window and at its original size.   This can encourage readers to steal photos that don’t belong to them, so I’ve also described how to stop pictures in your blog from being “clickable”.

But sometimes you may want to set a picture up so that clicking it opens up a different post, or even a whole different website.

 
 

 How to change where a picture is linked to

Add the picture into your post in the usual way.

Note where in the post your picture is – you may want to put some temporary marker-text just before or after it, so make it easier to find.

Look at the HTML behind your post, by choosing HTML view from the drop-down at the top -left of the editor window

Find the code for your picture.  It will look something like this:

<a href=”http://4.bp.blogspot.com/tkoGx2454hA/s1600-h/Inserting+a+picture.jpg” imageanchor=”1″ style=”margin-left: 1em; margin-right: 1em;”><img border=”0″ src=”http://4.bp.blogspot.com/_JerdsSlWcVo/S033qYWLWGI/AAAAAAAAMVc/tkoGx2454hA/s400/Your-picture-file-name.gif” />&nbsp;</a>


Notice the part in bold, ie the href=”CONTENTS”

Replace this with the URL that you would like your readers to go to when they click on the picture.  For example, if you want them to be taken to Google to do a search, the code would look like:

<a href=”www.google.com” imageanchor=”1″ style=”margin-left: 1em; margin-right: 1em;”><img border=”0″ src=”http://4.bp.blogspot.com/_JerdsSlWcVo/S033qYWLWGI/AAAAAAAAMVc/tkoGx2454hA/s400/Your-picture-file-name.gif” />&nbsp;</a>


By default, clicking the picture will take your visitor to the link you give in the same window.   But if you would like it to open in a new window, add target=”_blank” to the code too, like this:

<a href=”THE URL TO GO TO” target=”_blank” imageanchor=”1″ style=”margin-left: 1em; margin-right: 1em;”><img border=”0″ src=”http://4.bp.blogspot.com/_JerdsSlWcVo/S033qYWLWGI/AAAAAAAAMVc/tkoGx2454hA/s400/Your-picture-file-name.gif” />&nbsp;</a>


Go back to Compose mode (so you don’t get confused next time you edit a post)

Remove the marker text, if you used any.


Some more things to think about

Will your readers realise that they should click the picture?

Unless your image says “click me”, some users won’t – and if they’re used to Blogger, they may just expect to see a larger version of your photo.   So it might be a good idea to add a caption, or even some instructions in your blog to tell them to click the picture.

Also while you’re editing the code, you might also like to add some alt-text to your picture link too, to make your blog more friendly for readers who use screen-reading tools, and for search engines / SEO.


What you will see

At some times in the past, when you added a link a picture and then hovered over the picture in the post editor, your would see a double-row of in-post editing options:

  • one row had the usual options for editing pictures (which lets you set the picture size, alignment and caption)
  • one row had the usual options for editing links (with options to go-to, change and remove the link.

Today, as I’m writing this post, I can only see one row of options in hyperlinked pictures – so I need to edit the HTML again if I want to change or remove the link – there is no way to do it from the Compose view.

[“source=blogger-hints-and-tips”]

 

By default, when a picture in your post is clicked, the file that is used to load the picture is opened, in a new window and at its original size.   This can encourage readers to steal photos that don’t belong to them, so I’ve also described how to stop pictures in your blog from being “clickable”.

But sometimes you may want to set a picture up so that clicking it opens up a different post, or even a whole different website.

 
 

 How to change where a picture is linked to

Add the picture into your post in the usual way.

Note where in the post your picture is – you may want to put some temporary marker-text just before or after it, so make it easier to find.

Look at the HTML behind your post, by choosing HTML view from the drop-down at the top -left of the editor window

Find the code for your picture.  It will look something like this:

<a href=”http://4.bp.blogspot.com/tkoGx2454hA/s1600-h/Inserting+a+picture.jpg” imageanchor=”1″ style=”margin-left: 1em; margin-right: 1em;”><img border=”0″ src=”http://4.bp.blogspot.com/_JerdsSlWcVo/S033qYWLWGI/AAAAAAAAMVc/tkoGx2454hA/s400/Your-picture-file-name.gif” />&nbsp;</a>


Notice the part in bold, ie the href=”CONTENTS”

Replace this with the URL that you would like your readers to go to when they click on the picture.  For example, if you want them to be taken to Google to do a search, the code would look like:

<a href=”www.google.com” imageanchor=”1″ style=”margin-left: 1em; margin-right: 1em;”><img border=”0″ src=”http://4.bp.blogspot.com/_JerdsSlWcVo/S033qYWLWGI/AAAAAAAAMVc/tkoGx2454hA/s400/Your-picture-file-name.gif” />&nbsp;</a>


By default, clicking the picture will take your visitor to the link you give in the same window.   But if you would like it to open in a new window, add target=”_blank” to the code too, like this:

<a href=”THE URL TO GO TO” target=”_blank” imageanchor=”1″ style=”margin-left: 1em; margin-right: 1em;”><img border=”0″ src=”http://4.bp.blogspot.com/_JerdsSlWcVo/S033qYWLWGI/AAAAAAAAMVc/tkoGx2454hA/s400/Your-picture-file-name.gif” />&nbsp;</a>


Go back to Compose mode (so you don’t get confused next time you edit a post)

Remove the marker text, if you used any.


Some more things to think about

Will your readers realise that they should click the picture?

Unless your image says “click me”, some users won’t – and if they’re used to Blogger, they may just expect to see a larger version of your photo.   So it might be a good idea to add a caption, or even some instructions in your blog to tell them to click the picture.

Also while you’re editing the code, you might also like to add some alt-text to your picture link too, to make your blog more friendly for readers who use screen-reading tools, and for search engines / SEO.


What you will see

At some times in the past, when you added a link a picture and then hovered over the picture in the post editor, your would see a double-row of in-post editing options:

  • one row had the usual options for editing pictures (which lets you set the picture size, alignment and caption)
  • one row had the usual options for editing links (with options to go-to, change and remove the link.

Today, as I’m writing this post, I can only see one row of options in hyperlinked pictures – so I need to edit the HTML again if I want to change or remove the link – there is no way to do it from the Compose view.

[“source=blogger-hints-and-tips”]

 

Tags: ainLinkingPicturePostToyour
Previous Post

The Highlights Of Milan Fashion Week

Next Post

SHOULD I COVER MY LAPTOP CAMERA?

Loknath Das

Loknath Das

Next Post
SHOULD I COVER MY LAPTOP CAMERA?

SHOULD I COVER MY LAPTOP CAMERA?

  • Trending
  • Comments
  • Latest
Micromax’s Rahul Sharma: From mobile to mobility

Micromax’s Rahul Sharma: From mobile to mobility

July 22, 2019
Another Report Says Xiaomi’s First Laptop Will Ship Early 2016

Another Report Says Xiaomi’s First Laptop Will Ship Early 2016

October 9, 2015
10 Top Personal Finance Bloggers to Follow in 2021

10 Top Personal Finance Bloggers to Follow in 2021

January 24, 2022
It’s Come to This? Pro-Trump Entrepreneur Blocked from Incubator’s Social Network

It’s Come to This? Pro-Trump Entrepreneur Blocked from Incubator’s Social Network

November 29, 2016
Asus ZenFone 2 Variant With 4GB RAM, 16GB Inbuilt Storage Launched

Asus ZenFone 2 Variant With 4GB RAM, 16GB Inbuilt Storage Launched

0
Optical Fibre Laid in 68,000 Village Panchayats: Telecom Minister

Optical Fibre Laid in 68,000 Village Panchayats: Telecom Minister

0
iPhone 6s Sports 1.8GHz Dual-Core Apple A9 SoC in Certification Listing

iPhone 6s Sports 1.8GHz Dual-Core Apple A9 SoC in Certification Listing

0
Microsoft Targeting SMBs in Punjab, Haryana for Cloud Services

Microsoft Targeting SMBs in Punjab, Haryana for Cloud Services

0
New Workspace for Education tools to enhance learning

New Workspace for Education tools to enhance learning

July 28, 2022
COLLEGE OF EDUCATION STUDENTS AND FACULTY PRESENT RESEARCH, WIN AWARDS AT NAPDS NATIONAL CONFERENCE

COLLEGE OF EDUCATION STUDENTS AND FACULTY PRESENT RESEARCH, WIN AWARDS AT NAPDS NATIONAL CONFERENCE

July 23, 2022
8 Best SMS Trackers Without Installing in 2022: Comprehensive List

8 Best SMS Trackers Without Installing in 2022: Comprehensive List

July 21, 2022
Samsung shuts down LCD manufacturing six months ahead of schedule

Samsung shuts down LCD manufacturing six months ahead of schedule

June 7, 2022

Recent News

New Workspace for Education tools to enhance learning

New Workspace for Education tools to enhance learning

July 28, 2022
COLLEGE OF EDUCATION STUDENTS AND FACULTY PRESENT RESEARCH, WIN AWARDS AT NAPDS NATIONAL CONFERENCE

COLLEGE OF EDUCATION STUDENTS AND FACULTY PRESENT RESEARCH, WIN AWARDS AT NAPDS NATIONAL CONFERENCE

July 23, 2022
8 Best SMS Trackers Without Installing in 2022: Comprehensive List

8 Best SMS Trackers Without Installing in 2022: Comprehensive List

July 21, 2022
Samsung shuts down LCD manufacturing six months ahead of schedule

Samsung shuts down LCD manufacturing six months ahead of schedule

June 7, 2022
  • Home
  • Contact Us !
  • Privacy & Policy

No Result
View All Result
  • Home
  • News
  • Mobile
  • Internet News
  • Social Media
  • Real Estate
  • Gadgets
  • Education
  • Technology
  • Finance
  • Car 2K17-2K18