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

hutch’s picture

I 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> to
Site 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.

cgdigitaltreats’s picture

Checking,

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.

cgdigitaltreats’s picture

hmmm, 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

hutch’s picture

I 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.

cgdigitaltreats’s picture

Hello,

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

hutch’s picture

How 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.

prabuthiru’s picture

Assigned: Unassigned » prabuthiru

* 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

hutch’s picture

I would need a lot more information than you have given in order to be able to help

hutch’s picture

Status: Active » Closed (fixed)