Closed (fixed)
Project:
Fast Gallery
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2008 at 17:50 UTC
Updated:
10 Nov 2008 at 17:01 UTC
my settings in site configuration of fast gallery:
Path to Gallery:
sites/default/files/fastgallery/
(there are 3 pics in this directory)
Name of Imagecache namespace:
fast_gallery_200
Name Imagecache namespace for the big picture:
fast_gallery_big
my drupal site is located under
http://mysite.de.local/dr6/
when i invoke
http://mysite.de.local/dr6/fast_gallery
i get a page with 3 placeholders (quite appearantly representing the three pics in sites/default/files/fastgallery/)
the links behind the placeholders refer to a long and somehow concatenated path, e.g.:
http://mysite.de.local/dr6/sites/default/files/imagecache/fast_gallery_b...
this path or file does not exist, though.
Comments
Comment #1
rapsli commenteddoes imagecache work properly? -> So the placeholder should link to an image. Copy this link an place it in your browser. Does the image display? If not the path to the image is wrong. If the image is displayed, the path is correct then you might have a problem with your imagecache module.
Can you check if this works?
Comment #2
charles05663 commentedIf I recall correctly, I had the same issue. I believe I corrected by creating the missing directory:
sites/default/files/imagecache/image_gallery_200 & in my case image_big
Comment #3
pbc commentedI copied the link by a right-click and subsequent context menu just to avoid typos, then pasted it into a new browser tab. the image was not displayed. i checked the file system and the path does not exist either.
i cannot even find any resized pics. so either the pics are not resized because of a problem with imagecache or imagecache cannot resize them because of a path problem. or ... hmmm.
i'll try and get more information by setting or checking some error reporting options and convince drupal to reveal more information. or adjust php settings like E_ERROR, E_WARNING, E_NOTICE.
in the meantime, could you please take my parameters for fast gallery's site configuration and tell me: which path do you expect that the files are resized into? having /sites/default/files twice in the path does not look correct. spooky.
thanks for your help.
Comment #4
charles05663 commentedFrom what I see, mine has the same type of path and it works (there are other issues that I am going to post about). The second path appears to be related to the imagecache.
sites/default/files/imagecache/image_gallery_200/pictures/DSC00486.JPG
My photos are located:
sites/default/files/pictures
Anyway, I had to created the directory and give the correct permissions:
sites/default/files/imagecache/image_gallery_200
Comment #5
rapsli commentedpbc: have you used imagecache before? -> it needs write permission in order to create the folder.
Have you created the ic preset namespaces?
Comment #6
pbc commentedhaven't used imagecache up to now.
oh, shame on me, the "Preset Name" in imagecache did not match the "Name of Imagecache namespace" in site config of fast gallery. hope i understand the principle better now. the thumbs show properly as well as the big images.
maybe one could use the same labels for the same thing and replace "Name of Imagecache namespace" by sth like "Which imagecache preset should be applied to pictures in the fast gallery overview?" and "Fill in the imagecache preset name."
regarding the creation of directories: since i filled in the proper imagecache preset name in the site config of fast gallery, the corresponding subdirectories in sites/default/files/imagecache are created automatically. i checked this by deleting them manually in the filesystem and then clicking on the fast gallery page again. the resized versions of the original pictures are being created once they have to be displayed.
changed the category of this issue from bug report to support request ;-)
Comment #7
pbc commentedtest system runs on wamp here. will keep your hint in mind regarding file or path permissions when testing on lamp web server.
Comment #8
rapsli commentedcheck out the latest dev version (either from CVS or wait 12 hours till the nightly build is refreshed). Feel free to theme it a little bit nicer. Use fast_gallery.module line 279 for the lightbox version and 362 for the thickbox version.
Comment #9
ncy commentedcheck out 6.x-3.1-beta1
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.