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

macpro's avatar
macpro
85 posts
16 years ago
macpro's avatar macpro
  1. i’m using Leevi’s Poll Extension, wich does work with jQuery. Even the CP got it loaded. Probably Mark’s extension works with prototype, or?

  2. Yeah… I guess there is nothing outside. Probably there is the chance to code it on a funded base. There are heaps of threads who looking for a “weblog gallery” solution not a gallery, nothing reverse related entries, etc..

Nice would be file-uploading via Mark Hout’s ext. optional add caption and all ajax based. but i know, there is a hassle about the how to for a good workflow. I’m using the fckeditor in backend and frontend. wich works great. I saw a plug-in (badly no link provided) to use templates in fckeditor for input images, caption and alterante text. Should we move this to a new thread?

Stefan

       
scottmoa's avatar
scottmoa
19 posts
16 years ago
scottmoa's avatar scottmoa
Scottmoa:
Images uploaded are being converted from nice pretty jpegs to crunchy gifs, making them HUGE files and ugly.
Does making the following change in the extension code help? Change From:
if(@imagegif($dst_img, $dst) !== false) {}
else if(@imagejpeg($dst_img, $dst) !== false) {}
else if(@imagepng($dst_img, $dst) !== false) {}
Change To:
if(@imagejpeg($dst_img, $dst) !== false) {}
else if(@imagegif($dst_img, $dst) !== false) {}
else if(@imagepng($dst_img, $dst) !== false) {}

Excellent! That appears to have solved the jpeg/GIF conversion issue. thank you!

Now I only have one issue - it’s still resizing it to the maximum image size set in the upload prefs. Ideally, it shouldn’t touch it at all if the image is within those parameters. This resizing is both increasing the file sizes and, as you know, with each manipulation there’s a drop in image quality.

Any guesses?

In the mean time, I’ve simply removed the maximum dimensions to prevent any resizing.

thank you for your assistance.

       
Kev-O's avatar
Kev-O
50 posts
16 years ago
Kev-O's avatar Kev-O

Wow this thread is really long eh? (If this question has already been answered on this thread I apologize)

It sounds like when a file is uploaded using the ‘file’ extension, that it automagically creates thumbnails for those images. Mine doesn’t seem to be doing that, is there a setting that I need to set? I imagine that in my upload directory there should be the image I uploaded and a thumbnail of it. (I’m not seeing any thumb files)
It shows thumbs when I am editing weblog entries, but when I call the {file_thumb_url} variable, it doesn’t link to anything. Does it matter what kind of image file I upload, jpg or gif?

Here’s some code I use to call the thumb image: {exp:weblog:entries weblog="portfolio" limit=1 dynamic="off" status="Featured"}

{portfolio-main-image} {file_thumb_url}<br> {/portfolio-main-image}

{/exp:weblog:entries}

Sorry if this is really obvious and really long winded.

-kev

       
Eastwood Design's avatar
Eastwood Design
605 posts
16 years ago
Eastwood Design's avatar Eastwood Design

Why can’t I get this multi file to work?

I have multi images enables in the prefs my code is

{exp:weblog:entries weblog="missions" category="7"}
{missiongallerys}{missiongallery} </a>{/missiongallerys}
             {/exp:weblog:entries}

missiongallery is my custom field.

when it is outputted only the first image appears as well as in the browser {missiongallerys} {/missiongallerys}

ie: this is the source or the outputted page

{missiongallerys} <img src="http://domain.org/images/uploads/1.jpg" alt=""  />{/missiongallerys}

If I upload 4 images and I use this code below everything works except I just get the same first image 4 times.

{exp:weblog:entries weblog="missions" category="7"}
{missiongallery}{missiongallery} </a>{/missiongallery}
             {/exp:weblog:entries}

So it appears adding the “s” to make it plural which I thought was the trick in using multiple images breaks everything.

       
bkuberek's avatar
bkuberek
124 posts
16 years ago
bkuberek's avatar bkuberek

I wanted to discuss improvements and customizations but this thread got a little too long.

I created this new thread for discussing advanced use of Mark Huot File Extension.

Please come over if you have feature requests, customization tips, etc

       
Angie Herrera's avatar
Angie Herrera
357 posts
16 years ago
Angie Herrera's avatar Angie Herrera

I read about 50% of this thread and didn’t find a problem or solution similar to what I’m experiencing on a client site. During development on our own server File worked like a charm. However, we moved the dev site to production on the client’s server last week and now File doesn’t work. Specifically, the file/image doesn’t get uploaded to the server. I confirmed this by looking via FTP.

Of course, I checked, double-checked and triple-checked all settings. Everything is correct. Previous images that were uploaded on the development site are showing just fine on the live/production site. I should mention this live site is hosted at GoDaddy (yeah, I know…).

Also, I checked the regular file upload that comes with EE and that works as its supposed to. It’s definitely something with File. Can someone please help? I have no idea what the difference may be or where to start troubleshooting.

.angie

       
bkuberek's avatar
bkuberek
124 posts
16 years ago
bkuberek's avatar bkuberek
Previous images that were uploaded on the development site are showing just fine on the live/production site.

Usually when this happens, your paths are still pointing to other server. So you move the files over, move the database, but unless you change the upload paths, the images are going to come from original server.

I move databases from dev, to staging, to production, and vice versa all the time. I have no problems.

What we choose to do is: never move DB from dev to production. Always from production to dev. So when I custom fields for example, I create them on production, export the DB and import it into dev. Then I go over the paths to point at dev. This way you can never break production.

Take a look at the images I uploaded. One is production settings and the other one is dev settings.

The third is the custom field settings.

Hope this helps.

       
Angie Herrera's avatar
Angie Herrera
357 posts
16 years ago
Angie Herrera's avatar Angie Herrera
Usually when this happens, your paths are still pointing to other server. So you move the files over, move the database, but unless you change the upload paths, the images are going to come from original server.

Very true. And I checked that thoroughly because I’ve had that little bit bite me in the rear before. But apparently something wasn’t right… I just checked things today and everything’s working. In all the checking and editing I must have changed something to the right setting. Guess a good night’s sleep is better than anything after all. 😊

       
fanderson's avatar
fanderson
883 posts
16 years ago
fanderson's avatar fanderson

Mark,

I really like the nice interface and ease of use. Is there anyway to leverage this to associate files on the server that have been uploaded by ftp? If not, are you aware of any other options for doing so?

Thanks,

Forrest

       
bkuberek's avatar
bkuberek
124 posts
16 years ago
bkuberek's avatar bkuberek
Is there anyway to leverage this to associate files on the server that have been uploaded by ftp? If not, are you aware of any other options for doing so?

Totally something needed. I thought about it many times but always forget to post it. Thanks for pointing this out.

I will post it here too.

Mark Huot File Extension

       
Clearpeak's avatar
Clearpeak
413 posts
16 years ago
Clearpeak's avatar Clearpeak

Hi,

What if you have multiple SAEFs? Has anyone successfully used Jermain M’s ext.saef_enctype.php extension with multiple paths to saefs?

Thanks

       
Clearpeak's avatar
Clearpeak
413 posts
16 years ago
Clearpeak's avatar Clearpeak

Hi,

I wonder if anyone has had a problem with the file extension and Safari. Whenever I try to submit the pub/edit form or the saef with a file custom field on it the form doesn’t get submitted–it just hangs up and the data isn’t submitted. Both the cp and the saef work fine with firefox and camino.

Thanks

       
xopher's avatar
xopher
12 posts
16 years ago
xopher's avatar xopher

I’m using Safari 312 with File Extension 311 and EE 165. Everything works fine.

       
Clearpeak's avatar
Clearpeak
413 posts
16 years ago
Clearpeak's avatar Clearpeak

Huh, really. Strange. I cannot get it to submit with Safari. Everything else works fine. I’m using the same version.

       
c_k's avatar
c_k
98 posts
16 years ago
c_k's avatar c_k

I am running a mysql server version 4.0.20 It seems that the extension requires features that is only on 4.1

Does anyone know if there is there an older version of the extension that will work on 4.0 ?

       
First 44 45 46 47 48 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.