Benutzername    Passwort    Autologin    
  Passwort vergessen       Registrieren  
beeForum Foren-übersicht » hal9000 » mod support
Neues Thema eröffnen   Neue Antwort erstellen Hervorhebung entfernen


Large Image problem on upload pic
Vorheriges Thema anzeigen :: Nächstes Thema anzeigen  
Autor Nachricht
micky





Titel: Large Image problem on upload pic
Verfasst am: Mi, 22 März 2006, 19:39
Beitrag
Antworten mit Zitat

Thank you for sharing your work it is a great addition.

There may be a bug of sorts that I ahve come across (though it could be my end)

the upload works so does the file exceeds limit work


But a large file seems to bypass the system and load up and assigned no owner?

this case the size was set at 200kb the image attempted was 3mb

the image loaded (I saw it in admin) but no owner and a total blank screeen! no warning error or insert.

I have repeated this several times

Any idea what this could be?

Nach oben
Rang:
boris



Beiträge: 10136

Titel: Re: Large Image problem on upload pic
Verfasst am: Mi, 22 März 2006, 20:33
Beitrag
Antworten mit Zitat

micky @ Mi, 22 März 2006, 18:39 gab folgendes von sich:
the image loaded (I saw it in admin) but no owner and a total blank screeen! no warning error or insert.

This issue has been discussed several times - only in german till now so you wouldn't know Wink

If you upload huge pictures and those images have to be resized by UploadPic due to your limitations (maximum image dimensions) in the ACP, the script (UploadPic) has to uncompress the picture in order to process it.
This is a common compression-ratio in JPG-Files:

So the file is only 234kB big (and can be handled ok) but as soon as it is uncompressed (to resize and/or rotate it), it takes up almost ten times more - 2.25MB - server memory. If the server-settings do not allow scripts to reserve that much memory, the script can't proceed and will just freeze with a white screen.

If you can't change your server setting, you'll have to tell people not to upload huge files (e.g. using the "info"-variable in UploadPic to display information before the upload), there's no other solution to it.

Well, not quite true: set the maximum filesize to several MB (and the maximum dimensions really high) so UploadPic won't have to resize any picture, then it should work ... but you don't really want people to fill your webspace with giant images, do you ? (not talking about people having to download those files again when reading the topics and huge pictures probably breaking your layout)


____________
beehave - home of humbug ... [we can't afford to be neutral]


Zuletzt bearbeitet von boris am Do, 23 März 2006, 11:51, insgesamt 3-mal bearbeitet. (0 Prozent)

Nach oben
Private Nachricht senden Website dieses Benutzers besuchen Rang:godmode methusalem 3. platz professioneller Sportangler Profi-Winzer (7x Hamm) Arcade-Meister, Rang 16 rainbow-cup
micky





Titel: (Kein Titel)
Verfasst am: Do, 23 März 2006, 01:04
Beitrag
Antworten mit Zitat

Thank you for the full explaination Boris
Nach oben
Rang:
Beiträge der letzten Zeit anzeigen:   
Neues Thema eröffnen   Neue Antwort erstellen    beeForum Foren-übersicht » hal9000 » mod support Seite 1 von 1
Gehe zu:  



ähnliche Beiträge
Thema Autor Forum Antworten Verfasst am
Keine neuen Beiträge uploadpic Problem -> hilfe benötigt Dakota mod support 1 So, 15 Aug 2010, 15:39 Letzten Beitrag anzeigen
Keine neuen Beiträge Mailbenachrichtigung bei Bild-Upload boris mod support 0 Do, 20 Aug 2009, 20:25 Letzten Beitrag anzeigen
Keine neuen Beiträge Major Problem UncleR internet junk 0 Do, 19 Feb 2009, 14:51 Letzten Beitrag anzeigen
Keine neuen Beiträge Chris Baty - No Plot? No Problem! boris kühnes mittelscharfer 0 So, 23 Nov 2008, 17:30 Letzten Beitrag anzeigen
Keine neuen Beiträge limit image dimensions Morpheus mod support 1 Mo, 15 Sep 2008, 10:01 Letzten Beitrag anzeigen


Schreiben: nein. Antworten: nein. Bearbeiten: nein. Löschen: nein. Umfragen: nein.
phpBB © phpBB Group | impressum