Download & Extend

A little help with directoryimage option

Project:jcarousel block
Version:6.x-1.6
Component:Documentation
Category:support request
Priority:normal
Assigned:Greg J Preece
Status:closed (fixed)

Issue Summary

directoryimage option specific settings

The settings here only take effect when the directoryimage option is selected. It will then use images from directories instead of reading from CCK.

image directory pattern:

Question: where do I put the images folder?

Also, it seems as if the block wont show at all - loads no JS into the header or anything.

Comments

#1

Assigned to:Anonymous» Greg J Preece
Status:active» closed (fixed)

Just got my jCarousel block working, and I'm also using directoryimage. The folder is relative to your default files folder, which is usually /sites/default/files. So the default value for the directoryimage setting of /pictures/$nid means that the module will go to /sites/default/files/pictures and then look under that folder for a folder matching the current node's ID ($nid).

If you're not bothered about anything node-specific or just want the block to use images from one directory, you can remove the $nid variable from the path. I have a folder under /sites/default/files/renew* that I have all my images in, so I have directoryimage set to /renew.

Hope that helps! Well, maybe not you, seen as I'm nearly 2 years late, but it should help someone!

*Yes, that is a Logan's Run joke. Yes, I am that sad.

nobody click here