Closed (fixed)
Project:
Image Picker
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Sep 2008 at 22:59 UTC
Updated:
10 May 2009 at 14:01 UTC
http://nyclightwave.com/sites/default/files/files/pictures/picture-1.jpg
The module creates the directory, a,b,c,d etc and places the user name approperiatly. But the preview doesn't seem to get the
path correctly. There is no files/files directory.
This is after I uploaded an image, and tried to insert it.
There is an x image (showing missing img) and the properties is as above.
Straight install, using drupal 6.4
Antonio
Comments
Comment #1
hutch commentedI would have expected the path to imagepicker uploads to be something like
http://nyclightwave.com/sites/default/files/imagepicker/a/antonio/pictur...
http://nyclightwave.com/sites/default/files/imagepicker/a/antonio/thumbs...
http://nyclightwave.com/sites/default/files/imagepicker/a/antonio/browse...
You might also want to add
<img>toSite configuration > InputFormats > Filtered HTML > configure > Configure
If the path sites/default/files/imagepicker/a/antonio/ (or whatever user) does not exist then there is likely something wrong with file permissions or the path setup ;-(
If it does not work with preview it won't work with a saved page either
I have just tested this with 'Full Url' on and off, both are working for me.
Also make sure you are using 'Public' access and not 'Private' access which will not work.
Hope this helps.
Comment #2
cgdigitaltreats commentedChecking,
Filesystem set to public.
File folder permissions set to 777.
If the path sites/default/files/imagepicker/a/antonio/ (or whatever user) does not exist then there is likely something wrong with file permissions or the path setup ;-(
http://nyclightwave.com/sites/default/files/imagepicker/a/antonio/pictur...
http://nyclightwave.com/sites/default/files/imagepicker/a/antonio/thumbs...
http://nyclightwave.com/sites/default/files/imagepicker/a/antonio/browse...
This folder and file structure exist. The image is there, the thumb is there.
The problem I think is with the insert image button. The variable holding the path I think isn't making it into the part that inserts the image into the node.
maybe I should look at phpmyamin. WHich mysql table should I look at? variables??
p.s. is there a way to disable this module for image node types.
Comment #3
cgdigitaltreats commentedhmmm, seems even the avatar images which were showing up before, are not also.
I've started disabling modules, to hopefully catch this.
After disabling just about everything, the problem still exists.
I might start from scratch, very weird.
Seems that uninstalling upload module fixed the problems.
I'm going to try to see which module actually caused this problem.
Thanks.
Will continue testing your module, so far, it's great for just uploading an image into a node.
Found where you can enable it for content type. Thanks.
Great work.
Antonio
Comment #4
hutch commentedI have on one install had problems where the image module had not been properly uninstalled before imagepicker was installed, It had to do with the gd libraries I seem to remember, the percentage quality dropdown under Image Toolkit would not appear. Once I had removed the tables and entries in the variable table it all fell into place.
Comment #5
cgdigitaltreats commentedHello,
Yes I resolved this issue. I had to uninstall all the modules, to find out it was the upload module.
I reinstalled it, then re-enabled all the modules and it works fine. Thanks.
It was wierd problem. Thanks for your help.
Antonio
Comment #6
hutch commentedHow odd. I have to admit that I have not used the upload module, but I have just enabled it on my development box and imagepicker continues to work. I can have imagepicker inserts and uploads on the same node, no trouble.
The upload module has a default of 1meg files but if I include all the files under files/imagepicker that comes to far more, oh well.
Comment #7
prabuthiru commented* The directory does not exist.
* The settings have not been saved because of the errors.
why do occur this error message because i had changed my default image path
please help me
Comment #8
hutch commentedI would need a lot more information than you have given in order to be able to help
Comment #9
hutch commented