Hi
I am having a serious issue with this module. I have followed all the instructions as best I can, however it seems no matter what I do - I cannot see the images. It can't find any of them. It seems that the site is trying to put link to images located in files/imagecache/node-gallery-cover/galleryname/image.jpg.
When I look within my files, the image has been uploaded to files/galleryname/image.jpg but there is nothing inside the files/imagecache/ folder.
What is going on? is anyone else having this problem?
Any assistance would be hugely appreciated. I have been at it for about 5 hrs today and am getting no where.
Thanks so much.
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | node gallery.jpg | 11.71 KB | vhenninot |
Comments
Comment #1
Tally commentedHave you installed ImageCache? You need to enable ImageAPI, either ImageAPI GD2 or ImageAPI ImageMagick, ImageCache, and ImageCache UI.
The second page of the Node Gallery Relationship configuration allows you to set the original image storage location. The first time that an image is to be displayed, ImageCache will process the image and store it in files/imagecache/[preset name]/[Node Gallery path]
If you have .htaccess set up to prevent hotlinking images in your files folder, ImageCache will not work and you will not see any images.
You can test ImageCache by creating a node to display an image. Just add imagecache/node-gallery-display/ to the image path after files/. ImageCache will create a cached image for display. If not, then you need to troubleshoot ImageCache.
You may also want to read How to troubleshoot Drupal.
Comment #2
kmontyIt's been more than 2 weeks without any additional details. It sounds like a system problem to me and not a module problem. Were you ever able to figure it out?
Comment #3
kvoltz commentedHi kmonty,
I should have posted earlier. Yeah this was a configuration on my end that I had incorrectly set up. Honestly, I just needed to read the instructions a bit more closely.
Comment #4
dbeall commented@Kvoltz, glad you found the trouble.
changing status as this looks to be solved.
Comment #5
mikeloyst commentedHello all,
I am having the same problem however I do have ImageAPI GD2 Configured probably.
Is anyone else having this issue and what is the best way to resolve it.
I have un-installed ImageAPI, ImageCache and Node Gallery and Re-installed them in order. Yet the problem still persists.
Comment #6
dddave commentedWith the words of mighty merlinofchaos: "There are no critical support requests!" ;)
Have you performed the steps Tally suggested in #1? This is most likely a wrongful config on your side so make sure you have read the good docs.
Comment #7
dbeall commented@mikeloyst, I have found that the node_gallery and imagecache modules work very well.
Other people have had some issue with Imagecache not suppling images to the gallery because something was not quite right with imagecache. There doesn't seem to be any problem with the imagecache module, which leaves some kind of issue with your setup. Might be htaccess preventing hotlinking of images, folder permissions or something else.
see http://drupal.org/node/224913 ;Troubleshooting imagecache
The whole page is good and also has a section, 'what can go wrong'.
It would be a good place to start.
EDIT: it is good to check the permissions in Administer > User management > Permissions for image cache
more info at http://drupal.org/node/544242 ;How to install node gallery
Comment #8
dbeall commentedadjust title to better reflect issue, should have done it on last post.
Comment #9
dbeall commentedI have been looking over the imagecache trouble shooting page and Transliteration is discussed. I did not have it installed at the time I started with node_gallery. If the files being uploaded have strange file names, it might help resolve that. I am running transliteration now on all sites but one due to a project/Boost recomendation. Boost is very critical about URL paths which are the same as file names to the Boost module.
http://drupal.org/project/transliteration
Comment #10
kmontyAlso make sure your files directory is chmod'd correctly. Does Imagecache work properly with other modules (such as CCK)?
Comment #11
kmontyI suspect this was solved by #569642: Images fail to upload, but no error messages other than ImageCache 404s If no one provides more information in a few weeks, I'll close this thread.
Comment #12
vhenninot commentedHello,
Same problem here...
http://drupal.org/node/569730
Found that imagecache don't create any image or folder...
Eache times i upload a file, drupal create a .htacess in the file folder : is it normal or is it THE problem ?
I also read
http://drupal.org/node/224913
Thanks for your help,
Vincent
Comment #13
dbeall commentedwell, I am looking this over..
If the node_gallery is a default install, and it shows the file name...
I am back at the ImageCache troubleshooting page.
ImageCache works with Apache htaccess rewrite rules. I get the strange feeling this may possibly be the trouble.
I wish I could tell you that I am an htaccess pro, but I struggle with it some myself.
Now I am wondering what the server details are and what the URL of the site is just for a start.
Comment #14
Tally commented@vhenninot - Please be more specific. Without details it is difficult to determine what the problem could be.
What file folder? There are lots of folders in a drupal install. Which one are you talking about, specifically.
What is in the .htaccess file?
Is the image being uploaded to the folder specified for the gallery?
What is the filename of the image you are trying to upload?
What happens when you try to access the imagecache version directly at www.example.com/files/imagecache/node-gallery-display/[filename]? Do you get a page not found error?
Have you checked your dblog at admin/reports/dblog? Any errors? What do they say?
Did you check your server error logs to see if there were any errors (could be a memory issue)?
You say you read http://drupal.org/node/224913 Did you follow all the directions there and did everything check out? What did and did not work from that page?
Comment #15
vhenninot commentedHello and thanks for your answers.
A first, i try to use a new content type with a file field and image action to scale and autorotate from exif : it work like a charm.
Image cache create sites/default/files/images/imagecache/ subfolder (for thumbnails etc...) for each imagecache action
Then i tried to install node gallery in my drupal test site : no thumbnails and no file or folder created in the sites/default/file/imagecache folder.
So i tried again with a full new fres drupal install and new node gallery install : same problem !
I check all file and folder access right : 755 on the whole tree, 444 on settings and 777 on default files folder.
drupal temp folder is also in the file foder.
the .htaccess is created at the root of the default file folder each time i try to upload an image.
The images files i try had standard name without any special characters.
I add image with "upload" link on node gallery page.
I have no errors during upload and process.
and have only the jpeg name displayed. (see file attached)
.htacces file created contain :
"SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
Options None
Options +FollowSymLinks"
I just read again "Troubleshooting imagecache" and ... realise that i forgot to enable clean URL in my new fresh drupal install !
since i enable "Clean URL", imagecache create its folder and thumbnails successfully !
I'm realy sorry,
Thanks for you help,
Regards,
Vincent
Comment #16
dbeall commented@vhenninot, very happy this is working!
@Tally, does this need to be in documentation about clean URLs?
I have always had them enabled in every site right from the start.. I guess I never really thought about that before.
Comment #17
Tally commented@vhenninot - great to hear you got it working.
@dbeall - We could identify the clean URLs requirement, but, I don't recommend it. At some point people need to be aware of the requirements of the other modules that they are using. Imagecache states in its docs that Clean URLs must be turned on. And that is only one of several requirements.
I think it better to just refer to the Imagecache troubleshooting page and not specifically identify the requirements for other modules.
Comment #18
dbeall commentedlooks like this issue is fixed or working, change status
Comment #19
azovsky commentedBug still have :(
Using Node Gallery 6.x-2.x-dev (2009-Oct-10)
Comment #20
dddave commentedCorrecting status and resetting category.
Comment #21
Tally commented@azovsky - Please be more specific. Without details it is difficult to determine what the problem could be.
Exactly what problem are you experiencing? Please provide details and describe what you have done for troubleshooting.
Have you gone through all the troubleshooting steps described in this thread. What were your results?
Comment #22
kmontyComment #23
rcaracaus commentedI have the same problem.
Went through the same steps as #15 and I have Clean URLs enabled. Looks like the batch upload isn't accessing imagecache properly.
I have drupal 6.14
Comment #24
rcaracaus commentedFixed it. I needed to install the upload module. The maintainer should make this required.
Comment #25
dbeall commentedThe upload module is not required for Aplha10.. you must be using an old version when it was required.
The new readme does not include the upload module requirement.
but the old readme does:
REQUIREMENTS
---------------
- Upload module.
- Imagecache module.
Comment #26
kmontyComment #27
shima commentedmy image thumbnails didn't show & their names as link is display
1*clean URL is enabled
2*I install node-gallery module that work with Imagecach
3*any folder didn't create in imagecach in sites/default/files/imagecache
4*permission of this path is 777 and i can manually create folders and upload images via ftp
5*a .htaccess file exist in this path contain follow code:
"SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
Options None
Options +FollowSymLinks
"
that I change it as said in http://drupal.org/node/69722
6*another important thing is that when I want to create a new gallery or add image to a gallery there is no error but in dblogs this error occur !!!!!
"Duplicate entry '9289' for key 1 query: INSERT INTO i18n_strings (lid, type, objectid, property) VALUES(9289, 'item', 1578, 'title') in /var/www/vhosts/4msee.ir/httpdocs/sites/all/modules/i18n/i18nstrings/i18nstrings.module line 305."
pls help me
Comment #28
Boland commentedI also have this problem :( Clean URL's enabled, checked the .htaccess, but I don't see the images :(
Comment #29
dddave commentedAre you using the latest stable release?
Comment #30
Boland commentedI forgot to enabled Image API GD2!!! That did the trick :)