You are here

function brilliant_gallery_image_properties_get in Brilliant Gallery 7

Same name and namespace in other branches
  1. 6.4 functions.inc \brilliant_gallery_image_properties_get()
  2. 7.2 OLD_brilliant_gallery_functions.inc \brilliant_gallery_image_properties_get()

@todo Please document this function.

See also

http://drupal.org/node/1354

1 call to brilliant_gallery_image_properties_get()
brilliant_gallery_deliver_image in ./brilliant_gallery_functions.inc
@todo Please document this function.

File

./brilliant_gallery_functions.inc, line 156

Code

function brilliant_gallery_image_properties_get($bgimgproperties_hash) {
  $bgimgproperties_array = db_query("SELECT array FROM {brilliant_gallery_image_arrays} WHERE hash = :hash LIMIT 1", array(
    ':hash' => $bgimgproperties_hash,
  ))
    ->fetchField();
  $bgimgproperties_array = unserialize($bgimgproperties_array);
  return $bgimgproperties_array;
}