Image link in wordpress - wordpress

How can I get the image link in WordPress media?
Thank you!!

It shows that you need to put a custom link here if you want to connect to any site with this image. For example, you displayed this image in your site's content area where you want to click on that image and it will redirect to that specific page. Also you can put a custom link to another site whare you can set the link target, it will open in same window or in a new window. Hope it will make a sense for you.

Related

Adding a link from an image in wordpress

This seems to be more difficult than it should be.
All I would like to be able to do is add a link from an image on my wordpress site to an external website.
Using the normal media library tools this doesn't seem to be possible so I got the plugin WP Gallery Custom Links
However, even though I added the external link to the Gallery Link URL it still doesn't link.
Is there a more straightforward way to embed a link into an image?
Here is a screenshot of the image editing page:
If you are trying to make an Image clickable and bring you to an external site, click the image, click Edit, under Display settings select link to, custom url, and there you go.
Another way is, when you are adding an image to your site from your Media Library within Wordpress, there is an option "Link to" under Attachment Display Settings.

Wordpress - Image lightbox with different image when clicked

For my wordpress site, I need some images arranged in a grid and when one is clicked a specific (different) image is displayed bigger. I thought that there maybe is a lightbox/gallery plugin, where one enters the link for the small and big picture, and I can just use the link to a different image instead of to the same one, but bigger. Does anyone know a plugin that works like that? Or any other way to make that work?
You can use "WP Gallery Custom Links" plugin to set different image link by using "custom URL" option.
Simply go to a post or page and create a new gallery. You will see the custom link meta fields for individual images in a gallery.

Trying to add a featured image to a blog profile page in wordpress

I create profile page for all my bloggers, now I want all of them to be show on this page : http://www.montrealguidecondo.ca/news/blog_profile/. I can see there name but I can see there picture, is there a way to add feature image to a profile page so there picture is gonna be show on the page?
thanks a lot
Depending on the theme, and if you are creating a page for each blogger, there is usually an add featured image button in the bottom right (bottom of the side bar on the right) of each of the bloggers pages that should do what you want.
As you want image of your bloggers to display on a particular page, then 1st try to install "User Photo" plugin. It is very simple to install. After that just go to the user section in admin panel. Click on EDIT of a particular blogger and provide his/her image under User Photo section. After that you only have to use <?php userphoto_the_author_thumbnail() ?> to call the image of particular blogger on your required area. I hope it will solve your issue, If not then just msg back. Thanks.

Drupal, need to link an image-block to a node in colorbox format

I am trying to make a block of image (in left sidebar of the home page) to link to a colorbox.
For example I have a block with an image in home page. All I want to do is that when I click there the colorbox open with the content-type, for example a gallery of images. I tried everything for two days, but I couldn't make it work. All I could do is to make the colorbox to work inside the node but no directly from the homepage, and less from an imageblock in the homepage.
I would be appreciated if anyone can help me. Thank you!
I think the Colorbox Node module can be of help. That module enables you to open any page inside a colorbox modal without the header and footer.
In your use case you can make a link in the image block which looks likes this
<a class="colorbox-node" href="blogs/my-example?width=600&height=600">My Example</a>
When clicking the link, the link will open in a Colorbox modal. For more info on supported features and usage, take a look at the module's project page.

I want the wordpress post image to have the post link

I am new to Wordpress
I am implementing a custom theme that is derived from the parent theme tewnty twelve.
I want something like bellow:
I am uploading media that will be inserted inside the post. We know that when we click on the post title, it takes us to the full post page. But when i click on the image inside the post, it takes me to the url like this: www.mohin.com/?attachement_id=10 which i don't want. I want the image click takes me to the full post page as the title click does.
Is there anyone who can help me on this issue
Any help is appreciated.
Thanks,
mohin
Yeah it's pretty straightforward. Just select the image in your post editing window, select the hyperlink icon, and paste the URL you want the link to go to. Update and then check. When clicking the image it should go to that link.

Resources