• [Mod] Auto image resize on upload v2.0.1 (2010-12-18) 4 0 5 1
Currently:  

Author Topic: [Mod] Auto image resize on upload v2.0.1 (2010-12-18)  (Read 590552 times)

0 Members and 1 Guest are viewing this topic.

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #375 on: February 06, 2009, 08:01:34 AM »
Sure! I thought you have an access to see my gallery.

The gallery is at http://www.jumalee.com/gallery1

 :D

p.s Perhaps, need to use the manual technique which using an Admin Auto-Image-Resizer.
p.s.s Help me with your related MOD please, Re: Share User's Image in Comment

Thank you for your response!
« Last Edit: February 06, 2009, 09:36:34 AM by yesme »
Love 4images! @--^-----

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #376 on: February 06, 2009, 03:00:49 PM »
My guess would be you either made a mistake in Step 1 or didn't enable it in the settings.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #377 on: February 06, 2009, 06:46:45 PM »
You should see my settings and I think everything is set as suggested. Maybe, you should check.

Go here:

I have missed something in the scripts and just now replaced and edited upload.php and member.php as recommended. (Newbie, confused with Insert 'below'/'above') :D

After configured, then I've just discovered that Guest is not allow to upload exceeding size or dimensions limit whereas Registered users have an access to upload exceeding the size and the dimensions limit. Supposed Registered user's image will auto resize during uploading process.

What is my problem here?

Thank you.
« Last Edit: February 06, 2009, 07:08:41 PM by yesme »
Love 4images! @--^-----

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #378 on: February 07, 2009, 01:45:25 AM »
Sorry, I have no idea what could be wrong...double check all steps.
On your screenshot missing the two new settings from this mod, so you missed a step or made a mistake.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #379 on: February 07, 2009, 05:09:54 AM »
Hi V@no!

It getting better now. It works! I've missed many step actually.

Thanks alot.

Btw, may I know do you have a MOD about placing user's image thumbnail into comment? I have searched around but didnt find it. mawenzi have told me you have bb-code snippet etcetera? My thread about this issue is http://www.4homepages.de/forum/index.php?topic=24099.msg131983#msg131983

Thanks again!
« Last Edit: February 07, 2009, 05:34:56 AM by yesme »
Love 4images! @--^-----

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #380 on: February 09, 2009, 06:54:21 AM »
Owh no! I have installed AutoImage Resize but I am not realized that my users cannot upload image when the image size exceeds the limit. BUT admin is able to upload even the image is bigger than the limit and automatically resize? How this not happend to my user?

Please help me guys and gals.

Thank you.
Love 4images! @--^-----

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #381 on: February 09, 2009, 07:51:32 AM »
I still think you didn't do correctly step 2.x...I've tested the mod on fresh 4images v1.7.6 and it worked fine, so it must be something on your end.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #382 on: February 09, 2009, 08:50:49 AM »
V@no, you are such a great man. Now, everything is working well. Just now, installed fresh 4images 1.7.6. Thanks for your support.  :D
Love 4images! @--^-----

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #383 on: February 09, 2009, 09:22:32 AM »
I'm again. I said working well because on that time I am using admin account that is why the upload successfully even the size of the image exceed the limit. I thought I am using normal account.  :?

Normal user still unable to upload image when the size exceeds the limitation. Perhaps, I need to set the size of the image in KB at very high limit so that normal user will able to upload their images?! Also affected from MOD that I had installed; Annotation, Upload Info(On upload & In detail page) ?

These an error message appeared after trying to upload image exceeds the size limit.
Quote
Error uploading image file:
blue_season-1280x1024.jpg: Image size invalid

Fyi, auto resize is working very well both user groups.

Here are my upload.php scripts at Step 2.x
Code: [Select]
  function Upload() {
    global $config, $lang;

    $this->max_width['thumb'] = $config['max_thumb_width'];
    $this->max_width['media'] = $config['max_image_width'];
    $this->max_height['thumb'] = $config['max_thumb_height'];
    $this->max_height['media'] = $config['max_image_height'];
    $this->auto_image['media'] = $config['auto_image'];

    $this->max_size['thumb'] = $config['max_thumb_size'] * 1024;
    $this->max_size['media'] = $config['max_media_size'] * 1024;

    $this->upload_mode = $config['upload_mode'];
    $this->lang = $lang;

    $this->set_allowed_filetypes();
  }

  function check_image_size() {
    $this->image_size = @getimagesize($this->upload_file);
    if ($this->auto_image[$this->image_type]) {
       return 1; //auto image is on, don't need check for anything else.
    }

Thank you.
« Last Edit: February 09, 2009, 09:41:58 AM by yesme »
Love 4images! @--^-----

Offline Lunique

  • Full Member
  • ***
  • Posts: 109
  • V 1.7.7
    • View Profile
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #384 on: February 09, 2009, 07:09:25 PM »
@danke mawenzi, werde dies mal einbauen
wie kann ich erreichen, dass das original bild immer gespeichert wird?

hier der original code
http://www.4homepages.de/forum/index.php?topic=7700.msg22313#msg22313

momentan wird es nur gesichert bei einem resize.

ich möchte gerne, dass alle bilder gespeichert werden.
wer kann mir helfen?

i install the auto image resize mod. when you go to the post above,    
write vano a additive, that picture before resize save to special folder.
as I can save all pictures (also these, the not resized become)

gruss ivan

Thanks for this great mod, everythings working perfect. Only one more question
This has been asked two times before. Is it possible to copy all uploaded images to "big" folder no matter if they are getting resized or not?
Would be really great, thanks!

Offline CarstenM

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #385 on: April 09, 2009, 06:32:37 PM »
ist bei dem installer das Fix dabei??? und frage 2.... es geht bei mir nicht ich lade 2000*2000px hoch über ftp check bild.... und nichts!!! hab in den einstellungen dann bei max image jeweils 600 600 px eingestellt und auf ja und nichts geht!!!

Offline CarstenM

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #386 on: April 11, 2009, 02:18:54 PM »
also hab grad nochmal alles gemacht!!lade ein bild hoch mit 2000px stell max size auf 600 jeweils und lade die dann per ftp hoch und dann check ich sie ein und schau dann ob sie geändert worden sind und was ist nichts!!!
« Last Edit: April 14, 2009, 05:11:44 PM by CarstenM »

Offline CarstenM

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #387 on: April 14, 2009, 05:12:07 PM »
push =( niemand eine Lösung was das sein kann oder warum es nicht geht!

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #388 on: April 14, 2009, 08:59:05 PM »
Carsten,

zum thema push > http://www.4homepages.de/forum/index.php?topic=3914.0#post_rule8

dieser mod hat nichts mit ftp upload zutun sondern mit dem webbased upload
zu deinen grossen bildern lese mein voriges posting.
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline CarstenM

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: [Mod] Auto image resize on upload. (updated 19/09/04)
« Reply #389 on: April 14, 2009, 11:03:55 PM »
gibts den Mod auch für Ftp???

oder irgendwie eine Variante wie ich das mit Ftp verknüpfen könnte???

Weil die Homepage für eine Eventfotografin ist und da schon ein paar Bilder aufeinmal anstehen?!...