I'm pretty sure this is to do with dfgallery trying to load the "Large" size off flickr. However, Flickr only creates a large size when the file is above 1024x768 px. So there may be a way to get dfgallery to grab the "Original" size only...
I added to the Album_Manager.php class CI_Album_Manager
this:
function flickr_get_sizes($photo_id){
$sizes=array();
$p_sizes=$this->_flickr_api_invoke('flickr.photos.getSizes',array("photo_id"=>$photo_id));
foreach ($p_sizes['sizes']['size'] as $z) {
$size[$z['label']] = array('width' => $z['width'], 'height' => $z['height'], 'source' => $z['source']);
}
return $size;
}
and then i added to the function process_album_flickr_set($album,$photoset_id,$max_size = '_b'):
to function foreach ($page['photoset']['photo'] as $photo) {
this: $im_s=$this->flickr_get_sizes($photo['id']);
$image = array();
...
//$image['thumbnail'] = ........
and this: $image['thumbnail'] = $im_s['Square']['source'];
//$image['image'] =......
and this: $image['image'] = $im_s['Large']['source'];
...... }
I'm having the same problem. I have different galleries taking pictures from picasa web album. the thing is that firefox handles these galleries well and all pictures are shown. In chrome and ie although the thumbnails are shown the associated image does not load. Does the image size have something to do with it? thanks for any help
I think it is time for Ballmer to go and for the company to break itself up into smaller more nimble companies. They still have great people and business units that would thrive if they could break away form the corporate shackles. We are witnessing Microsofts descent from industry luminary to marginalized business sector leader..
I am having the same problem as well :\
same here :-(
Same problem here, any one knows a fix ? We ll try the crossdomain.xml file to see....
I'm pretty sure this is to do with dfgallery trying to load the "Large" size off flickr. However, Flickr only creates a large size when the file is above 1024x768 px. So there may be a way to get dfgallery to grab the "Original" size only...
I added to the Album_Manager.php class CI_Album_Manager
this:
function flickr_get_sizes($photo_id){
$sizes=array();
$p_sizes=$this->_flickr_api_invoke('flickr.photos.getSizes',array("photo_id"=>$photo_id));
foreach ($p_sizes['sizes']['size'] as $z) {
$size[$z['label']] = array('width' => $z['width'], 'height' => $z['height'], 'source' => $z['source']);
}
return $size;
}
and then i added to the function process_album_flickr_set($album,$photoset_id,$max_size = '_b'):
to function foreach ($page['photoset']['photo'] as $photo) {
this: $im_s=$this->flickr_get_sizes($photo['id']);
$image = array();
...
//$image['thumbnail'] = ........
and this: $image['thumbnail'] = $im_s['Square']['source'];
//$image['image'] =......
and this: $image['image'] = $im_s['Large']['source'];
...... }
This solved the problem with imahes from flickr.
Thanks!!
I'm having the same issue with photobucket. Any suggestions?
I'm having the same problem. I have different galleries taking pictures from picasa web album. the thing is that firefox handles these galleries well and all pictures are shown. In chrome and ie although the thumbnails are shown the associated image does not load. Does the image size have something to do with it? thanks for any help
This solved the problem with imahes from flickr.
Thanks!!
I think it is time for Ballmer to go and for the company to break itself up into smaller more nimble companies. They still have great people and business units that would thrive if they could break away form the corporate shackles. We are witnessing Microsofts descent from industry luminary to marginalized business sector leader..
Post new comment