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 4336566
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T10:49:28+00:00 2026-05-21T10:49:28+00:00

The title is just my thought on how to do something, not necessarily, the

  • 0

The title is just my thought on how to do something, not necessarily, “the way”, here is the situation.

I’m using the following to embedd nice square thumbnails from my Flickr feed into my site.

<div id="flickr_badge_wrapper" class="group">
 <script type="text/javascript" src="http://www.flickr.com/badge_code_v2.gne?show_name=1&count=6&display=latest&size=s&layout=x&source=user&user=57701525%40N08"></script>
</div><!-- end flickr_badge-wrapper -->

Works just fine. Only the markup it generates (see below) contains a width=”75″ height=”75″. This is causing havoc because it’s a fluid layout and I don’t have a known height. I have figured out all the CSS… it works when I delete height from the img tag (tested in Firebug). Now I just need a way to get rid of that height attribute, after the Flickr feed has loaded.

<div id="flickr_badge_wrapper" class="group">
<script type="text/javascript" src="blah blah"></script>
  <div class="flickr_badge_image" id="flickr_badge_image1">
  <a href="http://www.flickr.com/photos/57701525@N08/5635787388/">
  <img src="http://farm6.static.flickr.com/5110/5635787388_ee1c039ba2_s.jpg" alt="A photo on Flickr" title=" " height="75" width="75"></a>
  </div>
</div>

Would love an idea with jQuery!

  • 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-21T10:49:28+00:00Added an answer on May 21, 2026 at 10:49 am

    Assuming that they are all within <div class="flickr_badge_image">

    $('div.flickr_badge_image img').removeAttr('width').removeAttr('height');
    

    If you have control of the source though, it’d be much better to do this server side. Just in case JavaScript were turned off or to avoid any flash of content issues.

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

Sidebar

Related Questions

I'm trying to shorten a wordpress title to just the first word. For a
This is kind of a weird question so my title is just as weird.
Just as title says. I don't believe it is possible to do this but
i have a problem just as title, and the http-status is 302 Moved Temporarily.
I've got a rails app with a posts scaffold that has just a title
Just what the title says, I need to change the password for an existing
Just as in title. Is suspect it is, but I couldn't find it anywhere
Just as the title says, I see a lot of editors touting macro recording
Just what the title says. Help greatly appreciated!
Just as the title says. As i went through different explanations for choices made

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.