Node Gallery 6.x-3.0-beta2
Lightbox2 6.x-1.11

Can not get any of the pictures to display. I can upload pictures and see the image displayed just after it has been uploaded. Thereafter, the images only appear as icons....where am I going wrong?

Comments

dddave’s picture

Component: Howto/FAQ/Example » Code

First two things to check:

1) Is imagecache working properly?

2) Are all permissions correctly set?

schweboo’s picture

1. Permissions are set.

2.Image cache seems to be working....the module is enabled and the module administration options all work.

justintime’s picture

For testing imagecache, visit admin/build/imagecache/list, and click on the "edit" links to each of the node gallery ones. If you don't see a drupalicon on each of those pages, you likely have something wrong with file permissions. Visit your status report and recent log entries as well for clues.

schweboo’s picture

No drupal icons on any of the pages. All permissions set on for my user. No entries on log and status update looks ok.

dddave’s picture

Check the imagecache docs for debugging help: http://drupal.org/node/163561

schweboo’s picture

Images are being uploaded in my default \files\ directory, rather than the appropriate files/imagecache directories.

When I physically add the images into the ImageCache Directories, they are displayed =- so imagecache is working.

I am using plupload.

justintime’s picture

Are you using filefield_paths? What tokens are you using? If you turn off the plupload module, and visit the upload tab on a gallery, does the resulting imagecache operations work?

schweboo’s picture

Not using filefield_path

Have turned off pluload and files are still being upload into the /files directory....

justintime’s picture

Status: Active » Closed (works as designed)

So, if you're not using filefield paths, then the files dir is where the image upload process *should* place the files. Imagecache's purpose in life is to dynamically create the files (which are thumbnails of the original) if they're not there. You probably have something wrong with .htaccess or gd/imagemagick.

Either way, this isn't a node gallery issue, it's a imagecache issue. Please open an issue in that queue if you can't figure out the problem by using the link in #5.

schweboo’s picture

Now resolved by changing the File System configuration setting from Public to Private. Not an obvious change - but it worked. Thanks for your help.

Best regards

Chris

justintime’s picture

Just FYI, with imagecache, you either need clean URL's, *or* private files if your webhost doesn't support clean urls.