Error message
Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home1/tylerfra/public_html/includes/common.inc).
imagefield
In this tutorial we'll explore how to build a mobile application that can take a photograph and save it onto a website with the current latitude and longitude coordinates.
The website will be powered by Drupal 7. The mobile application will be built using DrupalGap, which is powered by PhoneGap, jQuery Mobile and Drupal Services.
Did I mention all of this can be accomplished by writing zero lines of code? Well then, let's get started!
So I had a content type with an optional, unlimited value Imagefield attached to it. The content type's user permissions where set to allow all authenticated users to edit any node of that type. Which is all fine and dandy like sour candy. However, by default users are able to edit and/or remove other user's images in that field. Out-of-the-box that is the intended functionality, but I wanted user's images to be protected from other users. Here is how it can be done with a module:
Here is how to get a Drupal 6 CCK Filefield Imagefield default image path: