You are here

function emimage_picasa_validate in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 contrib/emimage/providers/picasa.inc \emimage_picasa_validate()

File

contrib/emimage/providers/picasa.inc, line 90
This include processes picasa.com image files for use by emfield.module.

Code

function emimage_picasa_validate($value, $error_field) {
  if ($value == 'PICASA_ERROR_USER') {
    form_set_error($error_field, t("This URL does not contain enough information to access Picasa's current API. Please find the photo through this user's gallery and link its URL here."));
  }
}