sg

Salı, Aralık 13, 2005

Re: google


Kenny D. <kennydrobnack@gmail.com> wrote:

> Peter Robinson wrote:
>
> > As far as the urls go, if you have that freedom, stick to the simplest
> > you can. In the past, people have claimed to have trouble with:

[Here I'm talking about image urls, not product urls]

> > - valid https urls
> > - valid urls with cgi paramerers ("...script.ext?param=val&p2=v2...")
> > - valid urls including percent encoding (example.com/my%20photo.jpg)
> > - image files larger than a certain size (10kB? 2kB? check the archives)
> >
> > So try serving small static files via http with names only including
> > letters, numbers, dots and underscores. Images *do* work on froogle...
>
> I think we're good to go on all the image stuff except for the image
> sizes. All the images are a maximum of 300x300 pixels.

What file size do they come out at? Froogle explicitly says you should
upload large originals and *not* small thumbnails, so I hesitate to
suggest that's the problem. (I upload thumbnails only because that's
all I have available.)

> The only problems I can see... Our product URL's have parameters in them.
> The products are all showing up and the links are working, just the images
> aren't showing up.

Sure. *Product* urls with parameters definitely work (all my urls used
to be like that before changes to using just pathinfo). But you tried
static *image* urls anyway...

> Another thing that might have something to do with it - we have .gif's,
> .jpg's and .png's but our system renames them all .gif. Browsers seem
> to handle it fine, but I'm not sure what problems this may be causing.

Hmm, that's not ideal. In itself the filename really should not make a
difference: browsers and the froogle spider should be using what your
web server returns as the Content-Type: header, and *not* guessing based
on the filename. Trouble is if you rename a .png to .gif it's possible
that your web server will be serving it back with the wrong
Content-Type: header.

[Actually thinking about it, if it's Apache and if it's using
mod_mime_magic then it should be clever enough to serve it back with the
correct Content-Type: even if you do name it wrongly.]

> Its still something I'm trying to get straightened out.

I hope you do.

Regards,

Peter
--
Peter Robinson
<http://www.ticketswitch.com/> Concerts, sport and theatre tickets

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık