By saitanay on
I installed "Image Filed" module
Then I created a new datatype with "imagefield" for photo Uploads.
Required Directory exists and writable.
Link: http://tanay.co.in/nellore/?q=node/add/user-photos-upload
I installed "Image Filed" module
Then I created a new datatype with "imagefield" for photo Uploads.
Required Directory exists and writable.
Link: http://tanay.co.in/nellore/?q=node/add/user-photos-upload
Comments
=-=
you must enable clean urls for imagfield to work.
you will notice that the path the image is expecting after an image is uploaded in using clean urls. Can be seen by right clicking the properties on the broken image placard.
turn clean urls on and you should be good to go.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
thanq.. but my host doesnt
thanq.. but my host doesnt allow .htaccess
so.. no clean urls.. thats sad..
i guess there is more than
i guess there is more than that.. even the files are not being uploaded.
if only that was problem, atleast the file should be uploaded...
and any other way to let users upload multiple images?
=-=
Actually you are wrong.......
The files are indeed uploaded see: tanay.co.in/nellore/files/useruploads/default_avatar_profile.jpg
The above is a file I uploaded with your form.
That said, if you can't use .htaccess files, then you can't use imagefield.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
thats very helpful.. thanq..
thats very helpful.. thanq..
i am not able to upload.. i
i am not able to upload.. i mean if i upload that pic is neither shown after upload, nor is it there in the ftp folder..
=-=
It won't be shown if if you don't have clean urls enabled. I've already told you this.
Lastly, uploading is a two step process. You click the upload button to upload it to the form, this puts it in the tmp folder. Then you click submit to upload it to the folder.
As I've shown you by uploading an image to your site and then linking calling the image in the browser. Your forms are working perfectly well, albeit without the ability to view the images because you aren't using clean urls.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Ok.. to get going without
Ok.. to get going without clean url..
i figured that if the user clicks the "submit" button directly without clicking on the "upload" buttons, everything hoes fine..
so can u tell me how i can remove the "upload" button from the form?
here is the module code..
Edited by: VeryMisunderstood; Removed lengthly imagefield contrib module code.
=-=
search the module code for '#type' => 'button',, and find the one that deals with the upload button. Though I don't suggest hacking a module. Especially one that is going to be updated.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
i guess this is the code
i guess this is the code
can i remove the whole part.?
the only problem is that the intermediate thumbnails that are displayed in the form if you press the "upload" button are only having the problem to display.
it will be a very great help if you can help me remove the "upload" button..
=-=
don't remove it, comment it out.
all i can do is offer suggestions. I've never removed the upload button. My imagefield module works perfectly.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
i think urs works well coz u
i think urs works well coz u have .htaccess and clean url
Resloved partially thanq
thanq "VeryMisunderstood" for help