Not a EE problem, just a problem with extensions adding custom field types, read more here:
Hi Mark,
Does this extension work on an IIS Box? Seems to not show images or upload them. Not my choice of server but client is on it and has no desire to change. This was working fine on my development server on mt.
Might have something to do with the / in server path on linux and \ on windows.
Maybe have a setting in the extension to choose which type of server you are on?
Cheers, Steve
Hi Mark,
Well if I try to upload a new file I get:
Error: There was a problem uploading ‘field_name’.
If I turn an existing text field to a file field I get broken images as it seems to add the image path twice but one hasn’t been translated from ee code yet.
http://www.domain.com/path/to/images/https://ellislab.com/asset/images/ent-partner-work/image.gif
Should be…
http://www.domain.com/path/to/images/image.gif
If I use normal field with a normal ee upload it works just fine. So my upload paths must be right.
Server Path.
D:\Inetpub\www.domain.com\path\to\images\uploads\
Server URL.
http://www.domain.com/path/to/images/uploads/
Any help would be greatly appreciated.
Cheers!
HI,
Been using file for many sites. Make that every site we do. EE should buy it give Mark bunch of money, plus free Ice Cream for a year.
Anyway, I can’t seem to get multi to work properly as per this post. In fact EE is not even parsing the code:
My field is called project_main_image. Here is what I got.
{exp:weblog:entries weblog="projects"}
{multi_project_main_image}
{multi_project_main_image}
{/multi_project_main_image}
{/exp:weblog:entries}
Any thoughts?
EE 1.6, Build: 20070726 File 2.1.2
That didn’t work but I figured it out:
{project_main_images}
{project_main_image}
{/project_main_images}
Thanks for the help!
One feature request if I could sqeeze it in. Instead of globally setting multiple “Files”, control the setting for multiple files when setting up a custom field.
I accidentally started a new topic on this when I intended to post it here. So here it is.
I’m getting the following error when I try to upload a file using File 2.1.2.
“Error There was a problem uploading ‘product_insert’.”
‘product_insert’ is the name of the custom field.
I have checked and double checked all the various permissions and they are correct. I can successfully upload a file into the same location using EE’s built-in File Upload feature.
I just can’t upload using File.
Any suggestions?
Hi there,
Sorry to drag all this up again but I was wondering if someone could possibly take the time to talk me through how to get the File extension working with my SAEF?
Basically what I need is a way to create an SAEF which has a photo field that will use the File extension so that I can allow people to upload an image along with the rest of the SAEF fields that I want them to have access to.
I just can’t figure out what I have to do to get this working. I have the extension enabled but when I go to the SAEF as created following the standard EE documentation I just get the name of the field showing and no upload button.
If anyone could lend a hand with this then I would be greatly appreciative. Also wondering how easy it is to allow this to work for many fields say if I wanted two or more fields to be upload fields?
Thank you in advance for any help with all of this.
Best wishes,
Mark
We did a pretty extensive site with photos using SAEF. Here is a few valuable pieces of info.
You need to get: extract_url_plus. Also we used embedded templates so we could save alot of typing.
The trick is to locate the field number for the field you want to use as a photo which IS NOT the same as the field ID (go figure). To get that value you need to grab it from the EE Plublish page for that weblog.
One you get that, here is just the bit of code in the SAEF for adding an image:
<b>Main Image</b>
{embed="snipets/saef_edit_form_file_field_empty" field_number="18" field_name="{article_main_image}"}
Here is the template “snipets/saef_edit_form_file_field_empty”
Then to edit that field we created an “edit article” template with this code in the SAEF:
<b>Main Image</b>
{if article_main_image}
{embed="snipets/saef_edit_form_file_field_full" field_number="18" field_name="{article_main_image}"}
{if:else}
{embed="snipets/saef_edit_form_file_field_empty" field_number="18" field_name="{article_main_image}"}
{/if}
Here is the template “snipets/saef_edit_form_file_field_full”
This might be a bit confusing, but let me know if you have any questions.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.