HTTrack Website Copier
Free software offline browser - FORUM
Subject: CSS background-image url not downloaded
Author: Glude
Date: 03/16/2011 19:43
 
Hi,
I am trying to make a static archive of my website. Most images are displayed
as background-images defined in a css file with relative paths.

Example : 
.rule {
   background-image:url(buttons/button.png);
}

I used this command to mirror the website :
/destination/path/ <http://website.com> -W -O HTTrack/IVC -P
username:pw@proxy:port -%v --robots=0 -%h -n --keep-alive --user-agent
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"

The problem is the image urls in the css file that is created are changed to
absolute links to my online website, and the images are NOT downloaded. That
means the static version would still need the online version to work...

Example :
.rule {
   background-image:url(http://website.com/images/buttons/button.png);
}

What option do I need to use to get HTTrack to download the images linked by
the CSS ?THANKS !
 
Reply


All articles

Subject Author Date
CSS background-image url not downloaded

03/16/2011 19:43
Re: CSS background-image url not downloaded

03/16/2011 20:33
Re: CSS background-image url not downloaded

03/17/2011 14:52
Re: CSS background-image url not downloaded

03/17/2011 15:08
Re: CSS background-image url not downloaded

03/17/2011 15:31
Re: CSS background-image url not downloaded

09/13/2012 11:10
Re: CSS background-image url not downloaded

01/07/2013 10:48
Re: CSS background-image url not downloaded

07/05/2013 08:39
Re: CSS background-image url not downloaded

11/03/2014 12:56
Re: CSS background-image url not downloaded

02/26/2015 07:53
Re: CSS background-image url not downloaded

03/17/2015 09:44
Re: CSS background-image url not downloaded

04/14/2015 08:37
Re: CSS background-image url not downloaded

02/11/2016 18:27




5

Created with FORUM 2.0.11