We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

File

Development and Programming

Mark Huot's avatar
Mark Huot
587 posts
16 years ago
Mark Huot's avatar Mark Huot

Yes and kind of. The rules say that the field settings are checked first, if that’s set then it will check the file upload settings associated with the field. If either of those aren’t set it will default to the extension settings. This basically means it’s an easy way to have global settings across all your file fields. Overall I’m not very married to the idea and am strongly thinking of removing it in the next release as it just adds confusion and another un-necessary setting location.

       
Micah Goulart's avatar
Micah Goulart
8 posts
16 years ago
Micah Goulart's avatar Micah Goulart

Some heads up on the new 2.0 multiple file looping that changed from {multi_[fieldname]} to {[fieldname]s}

{images}
{image}

{/images}

Had to dig through the code to find this out Mark. =)

Thanks for the great work in v 2.0 though!

       
tpayton's avatar
tpayton
172 posts
16 years ago
tpayton's avatar tpayton

Great additions on the 2.0 release. I’ve got a rather large user updatable photo site running off this extension. Thanks for the hard work.

So is there any way to easily get those nice fancy file type icons to show up in a template with the entry?

  • T.
       
Adrienne L. Travis's avatar
Adrienne L. Travis
213 posts
16 years ago
Adrienne L. Travis's avatar Adrienne L. Travis

Mark,

Quick feature request: I’d really like to turn on “multiple files” across the board, but then have a way (maybe with the change-type-to-dropdown-list hack?) to set an INDIVIDUAL INSTANCE to only allow a single file. It’d really help me out on a couple of projects, if it’s not too hard to implement!

Adrienne

       
Andrew Waegel's avatar
Andrew Waegel
16 posts
16 years ago
Andrew Waegel's avatar Andrew Waegel

Hello,

I can’t seem to download the zipfile from the head of this thread, using FireFox 2 on OS X. I get to this page:

http://expressionengine.com/?ACT=51&fid=36&aid=2163_4KDmOW3KOTLrLHqN4GfY

…and it’s blank, as if it’s waiting for a redirect. Any one else having this problem?

Thanks

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
16 years ago
Sue Crocker's avatar Sue Crocker

It’s not just you. It’s been reported as a bug.

       
seth.aldridge's avatar
seth.aldridge
68 posts
16 years ago
seth.aldridge's avatar seth.aldridge

Mark,

This is a great addition to this extension!

       
imagehat's avatar
imagehat
68 posts
16 years ago
imagehat's avatar imagehat

Mark, this is truly a great update to already useful extension. If you worked in Allienne’s suggestion of being able to change the settings per instance like the multi-text extension - at lease the single or multiple setting - it would be absolutely perfect!

Thanks again for all your great work!

       
Andrew Waegel's avatar
Andrew Waegel
16 posts
16 years ago
Andrew Waegel's avatar Andrew Waegel

FYI the download works for me now.

  • Andrew
       
liquilife's avatar
liquilife
147 posts
16 years ago
liquilife's avatar liquilife

This extension is great. Just what I have been looking for! I’ve got a question though. How do you dynamically access a thumbnail of an uploaded image? As it is right now it just sticks in a URL to the original image, but I see no way to get it to output the URL to the thumb?

I think this would be great so my authors could attach multiple images to any posting and it would just append a series of thumbnails that can be clicked through to the full sized image. What would be the best way of going about this?

       
Hop Studios's avatar
Hop Studios
460 posts
16 years ago
Hop Studios's avatar Hop Studios

I looked through the whole conversation, but I couldn’t see how folks have integrated this with a stand-alone entry form. Does anyone have some tips or code to share?

TTFN Travis

       
liquilife's avatar
liquilife
147 posts
16 years ago
liquilife's avatar liquilife

supersusie, people are hard coding the upload form into the SAEF. Easiest way to do this is to pull up your publishing page in the CP and view the HTML source. Locate and find the upload form portion and put that HTML in your SAEF. It should work perfectly. Did for me.

       
Hop Studios's avatar
Hop Studios
460 posts
16 years ago
Hop Studios's avatar Hop Studios

I can get the File extension working, as long as I don’t allow people to preview their entry before they submit it.

If I let them do a preview, the file upload field doesn’t get re-filled in correctly, so they lose that image in their submission.

And the image itself can’t be displayed in the preview, though that’s not as critical.

…I should mention I’m using 1.1.0…

TTFN Travis

       
Mark Huot's avatar
Mark Huot
587 posts
16 years ago
Mark Huot's avatar Mark Huot

Unfortunately the preview error is probably a fault of EE. You may be able to write some fancy PHP to grab the temporary image location on preview and then rewrite that where the field would be, but that’s a very custom solution.

       
Hop Studios's avatar
Hop Studios
460 posts
16 years ago
Hop Studios's avatar Hop Studios

That’s too bad that there’s no hook to be able to handle the file field fully.

(And I just tested the preview function in the control panel – sadly, it doesn’t work with “File” either. But at least it’s consistent!)

TTFN Travis

       
First 6 7 8 9 10 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.