Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6855853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:48:38+00:00 2026-05-27T01:48:38+00:00

I am using qTip2 and I wish to show an image as the tooltip

  • 0

I am using qTip2 and I wish to show an image as the tooltip content. I think it can be set by the content property, but I just could not get it right.

I am showing a tooltip on a link:

 <li class="answer">We provide personalised <a id="aboutshop" href="@Url.Action("Index", "Shop")">
        shopping list</a> based on what you have in your stock</li>


    // Tooltip for about shop link
    $('#aboutshop').qtip($.extend({}, myStyle, {

    }));

Any idea how should I set the content to be an image like this?

  <img src="../../Content/HomePage/aboutshop.JPG" />
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T01:48:39+00:00Added an answer on May 27, 2026 at 1:48 am

    I think that you could add the image you want to use in the DOM and then reference it as the text of your qtip:

    <img id='tooltip1' style="display:none;" src="../../Content/HomePage/aboutshop.JPG" />
    
    $('#aboutshop').qtip({
       content: {
          text: $('#tooltip1') 
       }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using bxcarousel to show a bunch of images. Each image has a tooltip,
Using C# How can I show a document in richtextbox without scrollbars, But I
I am using a tooltip plugin called qTip2. I would like to be able
Showing a 'share' link in a textfield within a tooltip using qTip2 . The
I found this wonderfull tooltip called qTip2. Loving it so far but has gotten
i'm using qtip in this way: $('#div').qtip({content:CONTENT,show: {event: false,ready: true},hide:false,position: {at: 'bottom left'}}); My
I'm using qTip 1.0 and want to set the maxHeight, but I don't see
I'm trying to have a qTip2 bubble created but not displayed at load time.
I'm using qTip2 here, and need the ability to refresh the content of the
Hii i am using qTip 2 i want the class ui-tooltip-dark ui-tooltip-shadow but it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.