Hello there, I was wondering where I would begin looking at the code responsable for the thumbnail / resize trigger. I'm having a lot of glitches loading image varieties though Ajax and sending them through Facebook connect. Often I find them reading as code rather than displaying as JPGs or so on. Is there any difference how MySource serves them?
Differences between image file and :v1 file
[quote]
Hello there, I was wondering where I would begin looking at the code responsable for the thumbnail / resize trigger. I'm having a lot of glitches loading image varieties though Ajax and sending them through Facebook connect. Often I find them reading as code rather than displaying as JPGs or so on. Is there any difference how MySource serves them?
[/quote]
How are you calling the thumbnails? Keywords?
Both keywords and URLS. We thought we had sorted it, but it's still not working. With the AJAX call you need to append .jpg for the jquery to realise it's an image. But it's still displaying code. I think there is something wrong in this line:
�����JFIF���������;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 80 ���
It's not reading as an image file...
Can you show me the jQuery code that you are using to load the image variety?
It's a little complicated to show like that. I'll recreate something to show you…
Yes, views fine in the browser. It's the Ajax and FB that are freaking out as they are looking for the .jpg extension I think.
[quote]
Yes, views fine in the browser. It's the Ajax and FB that are freaking out as they are looking for the .jpg extension I think.
[/quote]
What are the full headers you get back from a request on it?
It shouldnt need to be called .jpg, but the fact it is suggests the headers are wrong…
I'm not sure what I'm meant to be looking for but the XML response is INVALID - and prints our the code of the image…