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

New Extension: nGen File Field for FieldFrame

Development and Programming

heaversm's avatar
heaversm
197 posts
15 years ago
heaversm's avatar heaversm

Hi - this is not working for me. When I upload an image, it gets added to the server just fine, but the path that is generated is:

/~nhschica/images/uploads/focus_area/tout3_photo.jpg

However, I do not want the /~nhschica/ I think, as this is part of my base url:

http://174.120.96.253/~nhschica/

So what ends up happening is this (from the debugger):

imgsizer.Error: /usr/local/apache/htdocs/~nhschica/images/uploads/focus_area/tout3_photo.jpg image is not readable or does not exist

If I set the base_path= “/” for the imgsizer tag, I still get an error:

imgsizer.Error: /~nhschica/images/uploads/focus_area/tout3_photo.jpg image is not readable or does not exist

So I’m assuming it’s automatically adding on the /~nhschica/ for some reason. Thanks in advance for the help.

       
Chris Chiles's avatar
Chris Chiles
17 posts
15 years ago
Chris Chiles's avatar Chris Chiles

I’m having a few issues with having two file upload fields in a single matrix field.

The first is when you choose to upload an existing file. The thumbnail it shows is broken because it’s pointing to the path of the second file upload directory.

The second issue is when the matrix goes over 9 rows, I get an error:

Notice: Undefined offset: 10 in /extensions/fieldtypes/ngen_file_field/ft.ngen_file_field.php on line 454

The error only occurs when there are two file upload fields and only when 10 or more rows are added. I’ve also checked and it’s not a memory issue.

       
Mike Mella's avatar
Mike Mella
178 posts
15 years ago
Mike Mella's avatar Mike Mella

Is it possible to access the width of the uploaded image and use it as a variable, so that I can write code that says something like “if the image is less than 200px wide, do not resize”?

       
budparr's avatar
budparr
128 posts
15 years ago
budparr's avatar budparr

Try this (attached). I don’t think I’ve ever used it, but I think it does what you want.

       
Todd D.'s avatar
Todd D.
460 posts
15 years ago
Todd D.'s avatar Todd D.
Try this (attached). I don’t think I’ve ever used it, but I think it does what you want.

That’s a great little plug-in and looks like it will handle the problem nicely. Thanks!

       
Mike Mella's avatar
Mike Mella
178 posts
15 years ago
Mike Mella's avatar Mike Mella

Hmm…Can’t seem to get that to work with the nGen file field/FF Matrix.

       
Wes Baker's avatar
Wes Baker
343 posts
15 years ago
Wes Baker's avatar Wes Baker

I’m trying to use this on a MSM site and on the main site it works flawlessly, but on one of the subsequent sites, it’s only giving me the file name. I’ve checked the File Upload Preferences and those are correct. I also saw someone having issues when there was a field with the same name on another site, but looking at the database, this is the only field with this name. What else could be the problem?

I’m running EE 1.6.8 build 20091201, nGen File 0.9.10 and FieldFrame 1.3.5.

       
Todd D.'s avatar
Todd D.
460 posts
15 years ago
Todd D.'s avatar Todd D.

Perhaps it’s not MSM compatible?

       
Tyssen's avatar
Tyssen
756 posts
15 years ago
Tyssen's avatar Tyssen

Anyone have problems with ‘select existing files’ not working properly inside an FF Matrix? I’ve got a site where it works OK for the first row in the matrix, but for every subsequent row, when you click on the link, the page jumps focus back to the top, but the dropdown of images doesn’t appear, the browse input stays in place.

       
mafrozzu's avatar
mafrozzu
9 posts
15 years ago
mafrozzu's avatar mafrozzu

Hi!

I am using nGgen File Field and it works fine but all the PNG looks black! Is there any way to fix this issue?

Regards

       
sajwal's avatar
sajwal
52 posts
15 years ago
sajwal's avatar sajwal

Hi,

Almost after searching for 3 hours…

Can anybody help me finding the default path for image thumbnails : I am using ngen, ffmatrix and img resizer…i know the image of thumbnails reside in thumbnails folder but not able to pull up the path for them

src=”{image}” shows the large image src=”{thumb_image}” not able to find it.

       
bmschaaf's avatar
bmschaaf
171 posts
15 years ago
bmschaaf's avatar bmschaaf

Suddenly today I needed to increase my php_memory_limit to 128MB, after months of the site operating just fine at 64MB.

…Any ideas what would cause this? The server hasn’t been tampered with (its a vps and I haven’t done anything with it).

Thanks!

       
Argyll's avatar
Argyll
67 posts
15 years ago
Argyll's avatar Argyll

The Image Sizer plugin uses its own tag, see the examples in the docs (inside plugin manager).

Hi, Almost after searching for 3 hours… Can anybody help me finding the default path for image thumbnails : I am using ngen, ffmatrix and img resizer…i know the image of thumbnails reside in thumbnails folder but not able to pull up the path for them src=”{image}” shows the large image src=”{thumb_image}” not able to find it.
       
sajwal's avatar
sajwal
52 posts
15 years ago
sajwal's avatar sajwal
The Image Sizer plugin uses its own tag, see the examples in the docs (inside plugin manager).

Argyll I have searched all over but i think now it should be either related to ffmatrix or NGen file fieldtype…All i am searching is the default path to the thumbs created of 50 X 50 size in images/uploads/thumbs folder. OR Let me frame this together : Do you know how i can grab the filename of the thumbnail image?

       
Argyll's avatar
Argyll
67 posts
15 years ago
Argyll's avatar Argyll

Sorry, can’t help you there. I think those thumbs were not meant to be used on the front end, they are just used inside the control panel. Someone can correct me if I’m wrong.

Argyll I have searched all over but i think now it should be either related to ffmatrix or NGen file fieldtype…All i am searching is the default path to the thumbs created of 50 X 50 size in images/uploads/thumbs folder. OR Let me frame this together : Do you know how i can grab the filename of the thumbnail image?
       
First 36 37 38 39 40 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.