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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:31:45+00:00 2026-05-18T08:31:45+00:00

I am dealing with a short deadline here, so I will ask this question

  • 0

I am dealing with a short deadline here, so I will ask this question without having investigated this in depth yet. Although I blieve it’s a good question that may interest alot of people dealing with Magento.

I have been ask to do some modifications on a Magento eshop. Among other things I need to use the category image of each category as a full resizable background image, using this (or a similar) plugin – http://johnpatrickgiven.com/jquery/background-resize/

Any help would be greatly appreciated.

  • 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-18T08:31:46+00:00Added an answer on May 18, 2026 at 8:31 am

    To your theme’s layout add the following as local.xml

    <layout>
        <catalog_category_default>
            <reference name="before_body_end">
                <block type="catalog/category_view" name="back.image" template="page/html/back.image.phtml" />
            </reference>
        </catalog_category_default>
        <catalog_category_layered>
            <reference name="before_body_end">
                <block type="catalog/category_view" name="back.image" template="page/html/back.image.phtml" />
            </reference>
        </catalog_category_layered>
    <layout>
    

    Next, in the theme’s template create a file page/html/back.image.phtml

    <?php if ($this->getCurrentCategory()->getImage()): ?>
    <div id="back_frame">
        <img class="back_image" src="<?php echo $this->getCurrentCategory()->getImageUrl() ?>" alt="<?php echo $this->getCurrentCategory()->getName() ?>" />
    </div>
    <?php endif ?>
    

    Lastly add something like this to your theme’s CSS.

    .page {
        position: relative;
    }
    #back_frame {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: -1;
    }
    #back_image {
        width: 100%;
    }
    

    I haven’t actually tested any of this but it seems simple enough to work. Certainly it’s much too simple to need javascript!

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

Sidebar

Related Questions

I will try to keep this as short and specific as I can. This
I'm fairly new to Guice so hopefully this isn't an obvious question... I'm dealing
Long story short: var o="before"; x = function() //this needs to be an anonymous
Long story short, I'm wanting to test my site's anti-bot systems (bot here referring
I have a few ideas for dealing with this, but I expect the guRus
I'm dealing with some sort of problem here. A web application built on java
i am having a problem with dealing with regular expressions. What i need is
Ok a short question: Is there any SIMPLE software with a GUI, that lets
I'm trying to find the most efficient way of dealing with this but I
Dealing with an employee that went over my head

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.