Re: css image url's and :img problem
On Mon, Nov 19, 2007 at 02:10:06PM +1100, Clifford Heath wrote: > When you get that, do a File->Save and see whether the file you save is > identical to the source file. no, diff size corrupted image file. 2 more bytes added... \nl ? > You aren't running on Windows are you? The newline handling might > be corrupting your files... no, Debian Etch. Epiphany and Iceweasel, same results. best regards, -- pedro mg http://blog.tquadrado.com ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list
Re: css image url's and :img problem
On Mon, Nov 19, 2007 at 03:13:11PM +0100, Jonas Pfenniger wrote: > 2007/11/18, pedro mg <[EMAIL PROTECTED]>: > > The class is here: http://pastebin.com/f7c92f95a > > Remove the quotes around the regexp on line 5. Right now the > expression returns nil, which is not an entry in your MIME_TYPES hash. > Apparently the browser can work around a nil mime-type for the .css > but not for the pics. Yes Jonas, thanks, i noticed it almost immediately through IRB testing ;) and did remove them: MIME_TYPES[file[(/\.\w+$/)]] || 'text/plain' best regards, -- pedro mg ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list
Re: css image url's and :img problem
2007/11/18, pedro mg <[EMAIL PROTECTED]>: > The class is here: http://pastebin.com/f7c92f95a Remove the quotes around the regexp on line 5. Right now the expression returns nil, which is not an entry in your MIME_TYPES hash. Apparently the browser can work around a nil mime-type for the .css but not for the pics. -- Cheers, zimbatm ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list