User login

Imagecache

Imagecache settings not available to any user except UID 1?

Seriously, what? Imagecache enabled, the role has every single permission checked, but no Imagecache under sitebuilding (or anywhere else) and the Administer by module listing just gives a link to imagecache permissions, which my user has, as if only to mock me.

Log in as user #1 and it works, the settings for imagecache are there. This is imagecache2 in a site that's been upgraded from Drupal 4.7 to Drupal 5 and Imagecaches 1 to 2.

Resolution

Sidebar graphics with links ("promotional badges") the Agaric Drupal way

A note of warning about the length of notes to follow: This is site configuration at the point where it verges on developer documentation, such is the power of Drupal, and there's some outright theming in here too. This article is a reaction to doing sidebar graphics the painfully non-Drupal way.

Theming google map popups to use imagecache with Views and GMap module in Drupal

So you can pass in the imagecache presets namespace directly into your GMap view for use in pop-ups.

I had (apparently) figured this out a while ago but had Dan going through the code print_r'ing views variables to try to figure out where we could intercept the file ID and change the path to imagecache... and the path was already imagecache.

Any imagecache type you create can be chosen for CCK image

Moral of the story, when you're dealing with Views, assume it can be done through the user interface. There is full and amazing Imagecache support of Views.

Syndicate content