PDA

View Full Version : Broken images on Unlisted Albums using RSS/phpSmug - HELP!


BHsu
Sep-02-2009, 04:03 PM
Hey guys,

I've run into a problem that is making me pull my hair out.

I have php pages where I'd like to display unlisted gallery images. One page would show a particular gallery, and another page would show a different one.

I started by using phpSmug, which seemed to work great on listed galleries, but as soon as I provide the album ID and key for an unlisted gallery, I get broken images gallore.

I thought it might have had something to do with the php wrapper or maybe the API itself, so I decided to use an RSS feed instead to see if that would fix anything. I created a page that parses out an RSS feed and displays all the thumbnails listed in the feed... and the same exact problem happens. Unlisted albums show up completely fine (and quickly) but unlisted albums all show up with broken images.

Here is the page that I'm referring to that uses RSS feed:
http://www.promolocker.com/inc/xml_parse.php

Here is the feed that it is currently reading:
http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=9356396_BKLsD&format=rss

devbobo
Sep-02-2009, 05:37 PM
I believe that the issue is that you have "External Links" disabled at the gallery level. Set that to YES and you should be good to go.

Cheers,

David

devbobo
Sep-02-2009, 05:43 PM
There was also a 4 images that were stuck in the processing state, i've fixed those images for you.

Cheers,

David

BHsu
Sep-03-2009, 08:25 AM
devbobo, you are a savior! thank you very much!