简体   繁体   中英

Images not saved when saving a web page !

I am building a web site using php. I'm using Zend framework on an Apache server. My www folder structure is the following:

+www  
|  
|_+css  
| |  
| |_images  
|  
|_js  
|  
|_images  

now the problem is whenever I save a page the images inside the 2 image folders(1 inside www and the other inside css) aren't saved.

when I explore the saved page using firebug I find the css of a certain div referring to an image inside a folder named images (which isn't created).

link to image

...so can anyone tell me what's wrong ?
coz now I have to manually copy the 2 images folders with the saved file every time.

通常,浏览器只会保存任何<img>图片,不会花时间抓取CSS中提到的每个图片。

When you added the jQueryUI stylesheet, did you also copy the images that came with it?

Unfortunately, I'm not 100% what you mean by "whenever I save a page".

Assuming you mean 'save the page with firefox's save the page option': This option is broken, and it doesn't save everything. There is a plugin for firefox to fix this:

https://addons.mozilla.org/en-us/firefox/addon/save-complete-4723/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM