Your problem is the same as in the thread that you referenced, but as I 
indicated in my response there, the thumbnailUrlResolver method will vary from 
feed to feed because there is no standard way of adding an image to a feed. In 
your case, the only thing that needs to be changed from the solution I posted 
there is that the single quotes in the regex need to be replaced with double 
quotes. I also tweaked it just slightly so that there would be no possibility 
of overrunning the end quotation mark, even without the question mark. In the 
end, my regex looks like this:

var matches = el.match(/img src=\"([^"]*)\"/i);

Try that in a thumbnail UrlResolver option and see if it won't work for you.

That said, if you have further questions or issues, posting code into the group 
is really not a great plan because Groups tends to trash code as it wraps lines 
and such. Therefore, for future reference, post links to live pages, working or 
not.

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:
jrgeer...@gmail.com

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On Mar 23, 2012, at 12:41 PM, Engberg wrote:

> Hi
> 
> When I try to create a slideshow from my blogger-posts, it displays
> fine - only the images are horrible. It's upscaled thumbnails..
> 
> What am I to do?
> 
> The right pictures are in the feed, but doesn't display?
> 
> I found a similar topic here:
> http://groups.google.com/group/google-ajax-search-api/browse_thread/thread/264246023049ac43/ab197f9e1e006b55?lnk=gst&q=blogger#
> 
> But that doesn't solve my problem :-/
> 
> Here's the code:
> 
> ------------------------------------------------------------------------------------------------
> -----------------------------------------------------------------------------------------------------
> -----------------------------------------------------------------------------------------------------
> 
> <!--
> You are free to copy and use this sample in accordance with the terms
> of the
> Apache license (http://www.apache.org/licenses/LICENSE-2.0.html)
> -->
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
> www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml";>
>  <head>
>    <meta http-equiv="content-type" content="text/html; charset=utf-8"/
>> 
>    <title>Slideshow</title>
>    <!-- Scripts for the slideshow -->
>    <script src="http://www.google.com/jsapi"; type="text/javascript"></
> script>
>    <script src="http://www.google.com/uds/solutions/slideshow/
> gfslideshow.js"
>            type="text/javascript"></script>
>    <style type="text/css">
>      #picasaSlideshow {
>        width:  600px;
>        height: 800px;
>        margin-bottom: 40px;
>        padding: 5px;
>      }
>    </style>
>    <script type="text/javascript">
>    /*
>    *  How to make a slideshow with a photo feed using our custom
> control.
>    *  To see the options, go here or click the docs link in the
> titlebar:
>    *  http://www.google.com/uds/solutions/slideshow/index.html
>    */
> 
>    google.load("feeds", "1");
> 
>    function OnLoad() {
>      var feed  = "http://kaspere.blogspot.com/feeds/posts/default";;
>      var options = {
>        displayTime:2000,
>        transistionTime:600,
>        scaleImages:true,
>        fullControlPanel : false
>      };
>      var ss = new GFslideShow(feed, "picasaSlideshow", options);
>    }
> 
>    google.setOnLoadCallback(OnLoad);
>    </script>
>  </head>
>  <body style="font-family: Arial, sans-serif;border: 0 none;">
>  <div id="picasaSlideshow" class="gslideshow"><div class="feed-
> loading">Loading...</div></div>
>  </body>
> </html>
> 
> -----------------------------------------------------------------------------------------------------
> -----------------------------------------------------------------------------------------------------
> -----------------------------------------------------------------------------------------------------
> 
> Regards from Denmark
>    Kasper
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Google AJAX APIs" group.
> To post to this group, send email to
> google-ajax-search-api@googlegroups.com
> To unsubscribe from this group, send email to
> google-ajax-search-api+unsubscr...@googlegroups.com
> To view this message on the web, visit
> http://groups.google.com/group/google-ajax-search-api?hl=en_US
> For more options, visit this group at
> http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax-search-api@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-search-api+unsubscr...@googlegroups.com
To view this message on the web, visit
http://groups.google.com/group/google-ajax-search-api?hl=en_US
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Reply via email to