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

  • Home
  • SEARCH
  • 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 8388489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:28:59+00:00 2026-06-09T18:28:59+00:00

I am using Jquery SVG plugin in my project. I want to resize my

  • 0

I am using Jquery SVG plugin in my project. I want to resize my svg to different sizes
I have written following code to load svg in smaller size

 $('#svgbasics').svg({
            loadURL: 'lion.svg', // External document to load 
            onLoad: null, // Callback once loaded 
            settings: {width: '100px'}, // Additional settings for SVG element 
            initPath: ''
        }) 

but it always open image in 100% size, Anyone please help me how can i show SVG in different sizes

  • 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-06-09T18:29:00+00:00Added an answer on June 9, 2026 at 6:29 pm

    after searching for days i find out following things

    if you want to resize your svg then we have to resize viewbox of svg, setting width will only resize outer display area

    we can resize svg by simply displaying it in image tag and resize it according to requirement
    i.e.

    <img width="200px" src="lion.svg"></img>
    

    i found answer in following post

    How do I scale a stubborn SVG embedded with the <object> tag?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For rendering SVG I'm using jQuery SVG plugin. And, now I want to add
I created a SVG rect using keith-wood's jQuery SVG plugin. Here is the code:
I've been using the jQuery.svg plugin to do some SVG rendering and it works
Using jQuery Autocomplete, according to the docs you have to do the following to
I have this svg image. I would, using jQuery's mapHighlight , realize something that
Using jQuery validation plugin but it has no CSV validation. I have made an
I am using jQuery to load an external SVG (a map of France) and
I'm using jquery animate() to pull values from svg markup, and create an animation.
I'm working on an interactive interface using SVG and JavaScript/jQuery, and I'm trying to
Using jQuery timepickr: http://archive.plugins.jquery.com/project/jquery-timepickr Having included these files: jquery-1.7.1.min.js jquery-ui-1.8.21.custom.min.js ui.timepickr.js And getting this

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.