You are here

function ml_flickr_build_url_validate in Media Library 6

Validates if image url can be built

1 call to ml_flickr_build_url_validate()
ml_flickr_build_url in ml_image/ml_flickr/ml_flickr.module
Builds an image url

File

ml_image/ml_flickr/ml_flickr.module, line 223
This module aims to provide some basic sources for images to use with Media Library, such as navigating on existing files and uploading new images

Code

function ml_flickr_build_url_validate($image) {
  if (!empty($image['id']) && !empty($image['secret']) && !empty($image['server']) && !empty($image['farm'])) {
    return TRUE;
  }
  return FALSE;
}