开发者

Images not saved when saving a web page !

开发者 https://www.devze.com 2023-02-13 13:06 出处:网络
I am building a web site using php. I\'m using Zend framework on an Apache server. My www folder structure is the following:

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.


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/


Generally browsers will only Save any <img> Images, and won't spend the time grabbing every image mentioned in the 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".

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号