Author Topic: Probleme mit Thumbnail-Erstellung und Resize  (Read 5893 times)

0 Members and 1 Guest are viewing this topic.

Offline nkw51

  • Pre-Newbie
  • Posts: 7
    • View Profile
Probleme mit Thumbnail-Erstellung und Resize
« on: May 08, 2008, 08:51:54 AM »
Hallo Forum,

ich habe mir die Version 1.7.6 installiert, um auf meiner Dienststelle die anfallenden Bilder über das Intranet den Mitarbeitern zur Verfügung zu stellen. An den Standard-Einstellungen habe ich mal nichts geändert. Dort steht z.B. die maximale Breite der Bilder in Pixel mit 1024 ein.
Mein Problem ist nun folgendes: Lade ich Bilder mit bis zu 1024 pix hoch, kann ich Thumbnails erzeugen - zwar nicht automatisch, aber manuell.
Sind die Bilder grösser als 1024 pix und ich starte die Thumbnail-Erzeugung, bleibt der Prozess hängen. Genau so geht es auch, wenn ich die Bilder über Auto-Resize verkleinern will. Ich habe dann die maximale Grösse auf 3500 gestellt, aber auch ohne Erfolg.
Mach ich was verkehrt oder muss ich noch was einstellen. Ich kenne mich mit 4images noch nicht aus, aber das Programm wäre genau das, was ich bräuchte.

Mein System ist ein Suse SLES 10 SP1 Server mit Apache 2.2.3, MySQL 4.1.22 und PHP 4.4.8, GD ist installiert und wird erkannt.

Falls mir jemand einen Tip geben könnte - ich bin für alles dankbar.

Gruss
Norbert

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Probleme mit Thumbnail-Erstellung und Resize
« Reply #1 on: May 08, 2008, 09:16:57 AM »
Hallo Norbert,

hab selbst SUSE auf meinem PC zuhause... aber diese probleme nicht..

wenn du die php.ini selbst editieren kannst

erhöhe folgende werte

Code: [Select]
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 60     ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 32M      ; Maximum amount of memory a script may consume (16MB)

 :arrow: apache restarten

funktioniert es dann?

hoffentlich hilft dir das weiter.
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 nkw51

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Probleme mit Thumbnail-Erstellung und Resize
« Reply #2 on: May 08, 2008, 09:54:01 AM »
Hallo Nicky,

danke für die schnelle Antwort. Ich habe die php.ini geändert und den Apache restartet, aber es hat sich nichts geändert.

Gruss
Norbert

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Probleme mit Thumbnail-Erstellung und Resize
« Reply #3 on: May 08, 2008, 10:09:10 AM »
hi Norbert,

warscheinlich kann ich mir das nicht ansehen da du erwähnt hast das es im intranet läuft.
kannst du im 4images Admin CP bei "phpinfo()" nachsehen ob die werte tatsächlich geändert wurden.

wenn doch alles passt schick mir die pics auf die email
4images AT nicky DOT net

eins der funktioniert und eins welches nicht funktioniert.
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 nkw51

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Probleme mit Thumbnail-Erstellung und Resize
« Reply #4 on: May 08, 2008, 10:45:45 AM »
Hallo Nicky,

wie php.info zeigt, wurden die Änderungen übernommen; die beiden Bilder sind per Mail unterwegs. Die Galerie ist leider nicht öffentlich; sie liegt hinter unserem Proxy.

Gruss
Norbert

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Probleme mit Thumbnail-Erstellung und Resize
« Reply #5 on: May 08, 2008, 03:01:50 PM »
Hallo Norbert,

okay mit "memory_limit = 32M;" ging es bei mir auch nicht..
habs verdoppelt
"memory_limit = 64M;"

damit funktionierte cs3072.jpg..
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 nkw51

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Probleme mit Thumbnail-Erstellung und Resize
« Reply #6 on: May 09, 2008, 07:51:25 AM »
Guten Morgen, Nicky,

ich habe jetzt auch mal die Memory-Grösse auf 64 MB gesetzt - und es funktioniert tatsächlich. Vielen Dank für die Hilfe.

Gruss
Norbert
« Last Edit: May 09, 2008, 08:04:29 AM by nkw51 »

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Probleme mit Thumbnail-Erstellung und Resize
« Reply #7 on: May 09, 2008, 11:41:46 AM »
Hallo Norbert,

keine ursache, gern geschehen.

LG
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