could there be a naming conflict somewhere with your weblogs and fields? you’re right that it seems that the weblog_id is not being set, but i can’t see why because the extension just hooks on to the entry form submission.
i notice you are using the checkbox extension. have you any others enabled that might be causing a conflict?
is this just happening with this one particular weblog?
Well, my problem did stem from the directories, but it was a rather different kind of problem. I could not successfully upload any images no matter what modifications I did to paths or permissions. Turns out, my upload_destination ID was set incorrectly in the front-end form. (I had tried removing this altogether, but for some reason this never remedied the situation.)
I am using the MSM and have another upload path on another “site”, causing my path IDs to be off by one in my main site. I found this problem by simply adding {filedir_1} to the front-end template and scaling up 1, 2, 3, 4, 5 until I saw that other site path showing. It was then that I realized what the problem was. I set my upload_destination attribute to the correct value and it worked like a charm. I knew something was awry when I was finally able to submit the form (verification that an upload occurred), but could not find the files that had been uploaded. When I realized the other site had been grabbing them, I checked THAT upload directory and there they all were.
My problem is solved, thankfully. Ben, I appreciate all the assistance and for the swell plugin.
Has anyone ever implemented a way to check the uploaded files to ensure they’re not too large (filesize)? That is the only issue I’m running into here. We want to ensure the images being uploaded aren’t over a certain size (say 800k). Ideally we’d like to do this before the form is even submitted.
I’m already using jQuery on the site, so I found this pretty decent jQuery/Flash solution (jqUploader) but I just can’t seem to get that one to work out of the box - I should say I ALMOST have it working, but the file isn’t actually uploading. I’d like to find something similar to jqUploader that doesn’t actually upload the file before the form is submitted, but only does the size check. Anyone have an idea about this?
Could someone give me a quick walkthrough of what needs to be done for the plugin to work. I did look at the tutorial on the website, but it wasn’t clear enough. Maybe I am too tired but i would really appreciate it if someone did help me out here.
I ma currently creating a case studies section on our website. Each case study will have 3 screenshots. I am using stand-alone entry/edit forms throughout the website at the moment.
So I am going create a new blog called gallery. What custom fields would I need to create to have up to 3 images per entry/post?
hi anton, did you get it working? its really quite simple. you would put a custom field called images for example into your gallery weblog. then to use it in a stand-alone entry form put the following code into your entry form:
I’ve just bought your plugin and have it working. However, I’m trying to populate two other custom weblog fields in the same SAEF and for some reason the values aren’t being entered. Is this a limitation of the plugin?
However the custom field I created for the image is now showing as well as the image field with the browse button (generated by your plugin).
So if anyone knows how to hide this custom field it’d be much appreciated. Incidentally, in CP > Admin > Section Administration > Field Groups > Custom Fields I’ve already set the custom image field to be hidden by default, but this seems to have no effect.
Great Module! I’d like to put in one feature request. It would be great if there was an upload progress bar to visually let users know the progress of the upload.
jci: thanks for the suggestion, i reckon it would be practical only for uploading large files, which is obviously what you intend it for. i have to check out some existing upload progress bars, i know there are already some open source ones out there, and then i’ll get back to you on this one. if anyone has any experience with using or implementing upload progress bars then please share.
By your description, your extension looks good. Can i save pictures with unique names with it?
elikov: i’m not sure what you mean by unique names. the image names are kept, unless one already exists with the same name, in which case a random number is placed at the end of it.
no, unfortunately everyone has their own naming requirements and folder structures so its quite difficult to satisfy everyone. i will definitely see if i can in some sort of naming settings in the next release though.
I am creating a website for a social group and am using the Stand Alone Entry Form to allow members to create a customized profile for themselves without having to go into the Control Panel. I would like to allow each member to upload a photo. I’ve downloaded your add-on and have followed all the steps but something is still not working. I get the following error message after selecting a photo and clicking ‘submit’:
Notice: Undefined index: field_id in /home/content/.../system/extensions/ext.image_uploader.php on line 57
I have created a specific upload directory, it is #2 and is named “memberpix”.
I hope my error is not something too obvious!!! This is my second EE site but my first time using the members feature and the SAEF. Can you tell me what else to check?
it looks as though you may not have a custom weblog field named “photos” in the “directory” weblog. can you check this and let me know what you find. please also note that “photos” must be the field name (single word, no spaces) as opposed to the field label.
Is there any way this could accept other file types? such as mp3s?
I am making a site where local artists submit creative work (image, video and audio), so I am looking for a solution that can upload big files with a progress bar, only upload the file/form if the fields have been filled out correctly and the file is allowed (type, size etc), and ideally have some way to easily store the files (in user id sub directories without overwriting existing files).
I realise my feature request is quite a specific one, but are any of these planned for a future release?