Author Topic: [Mod] Multiupload with jQuery  (Read 183991 times)

0 Members and 1 Guest are viewing this topic.

Offline Ändi

  • Pre-Newbie
  • Posts: 2
    • View Profile
    • Eisenbahnbilder von der KBS 761 und Umgebung
Re: [Mod] Multiupload with jQuery
« Reply #75 on: November 10, 2013, 11:29:30 AM »
Danke.  :oops:
Hat super geklappt.  :D

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: [Mod] Multiupload with jQuery
« Reply #76 on: November 10, 2013, 08:31:19 PM »
Danke.  :oops:
Hat super geklappt.  :D

Dann hast Du ja nun Zeit um English zu lernen, nicht  :mrgreen:  :D

Offline mariusg

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [Mod] Multiupload with jQuery
« Reply #77 on: July 19, 2014, 12:27:26 PM »
Hallo in die Runde!

Vielen dank für diesen tollen Mod! Funktioniert (fast) einwandfrei.
An meinem Rechner klappte der Upload vor wenigen Tagen reibungslos. Lade ich jedoch Bilder (ca. 15 auf einmal) hoch, meckert er bei jedem Bild "HTTP-Error 403" und die Bilder erscheinen später nicht in der Kategorie..

Was mache ich falsch?

Vielen Dank für eure Hilfe! :-)

Rembrandt

  • Guest
Re: [Mod] Multiupload with jQuery
« Reply #78 on: July 19, 2014, 04:19:08 PM »
Willkommen im Forum!

 Das heißt bis vor wenigen Tagen konntest du noch mehr als 15 Hochladen, oder wenn du weniger als 15 hochladest dann funktioniert es?

mfg Andi

Offline mariusg

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [Mod] Multiupload with jQuery
« Reply #79 on: July 24, 2014, 08:52:54 PM »
Hi,

das war nur eine Beispielanzahl... die Zahl der Bilder ist egal.
Ich werde es noch mal am Rechner testen und gebe dann Bescheid!

Vielen Dank schon mal!

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: [Mod] Multiupload with jQuery
« Reply #80 on: July 24, 2014, 09:01:16 PM »
Hallo,

lade die Bilder am besten per FTP hoch das klappt.
Die Anzahl spielt dabei keine rolle  :wink:

nobby

Offline mariusg

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [Mod] Multiupload with jQuery
« Reply #81 on: July 25, 2014, 09:34:35 AM »
Servus,

ja das weiß ich  :D
Jedoch ist das eine Hochzeits-Bildergalerie, wo Gäste ihre Bilder hochladen sollen.
Ich habe es nun auf der Arbeit getestet. Windows 7-PC mit Mozilla Firefox.
Hier kann ich nun nur 1 Bild auswählen, nicht mehrere.

Woran liegt das nun?

Ich blicke so langsam nicht mehr durch...  8O :?

Rembrandt

  • Guest
Re: [Mod] Multiupload with jQuery
« Reply #82 on: July 25, 2014, 05:01:45 PM »
Hi!

Also wenn du nur ein Bild auswählen kannst, dann hast du beim Mod einbauen irgend etwas vergessen.
Kontrollier doch einfach den ganzen Mod noch einmal durch.

mfg Andi

Offline MKPMedia

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [Mod] Multiupload with jQuery
« Reply #83 on: September 01, 2014, 10:29:17 PM »
Hallo,

ich habe jetzt alles 2x durchgecheckt.. alles wie in der Anleitung in die Datein eingebaut.
Wenn ich nun im Fronted in den Kategorien Uploads machen will, kommt während des uploads dann HTTP Error (403)

Woran könnte das liegen?
Danke schon mal :)

Offline nexuskk4

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [Mod] Multiupload with jQuery
« Reply #84 on: June 05, 2015, 05:25:04 PM »
Leider habe ich eine Fehlermeldung bekommen wenn ich auf den Multiupload Button klicke. Ich hoffe mir kann jemand helfen :/



Code: [Select]
<script type="text/javascript" src="./js/multiupload/jquery.uploadify-3.1.min.js"></script>

  <script type="text/javascript" >

  $(function() {   Â  Â  Â

   Â $('#file_upload').uploadify({

   Â  Â formData : {

   Â  Â  Â '__csrf' : 'c8f8459c15399175364d56d7660135e0',

   Â  Â  Â 'user_id' : '1',

   Â  Â  Â 'sessionid': '4ccbc428366850a4c2060db89859376e',

   Â  Â  Â 'session_user_id' :'1'

   Â  Â },

   Â  Â 'swf': './js/multiupload/uploadify.swf',

   Â  Â 'uploader' : 'member.php?action=multi_uploadimage',

   Â  Â 'fileObjName' : 'media_file',

   Â  Â 'queueSizeLimit' : '10',

   Â  Â 'fileTypeExts' : '*.jpg; *.gif; *.png; *.aif; *.au; *.avi; *.mid; *.mov; *.mp3; *.mpg; *.swf; *.wav; *.ra; *.rm; *.zip; *.pdf',

   Â  Â 'fileSizeLimit' : '2000KB',

   Â  Â 'height'   Â  Â  Â : 20,

   Â  Â 'width'   Â  Â  Â  : 100,

   Â  Â 'buttonText': 'Select',

   Â  Â 'progressData': 'speed',

   Â  Â 'onQueueComplete' : function(queueData) {

   Â  Â  Â location.href="./member.php?action=multi_upload&cat_id=79";

   Â  Â }

   Â });

  });

  </script>

  <table width="100%" border="0" cellspacing="0" cellpadding="1">

   Â <tr>

   Â  Â <td valign="top" class="head1">

   Â  Â  Â <table width="100%" border="0" cellpadding="4" cellspacing="0">

   Â  Â  Â  Â <tr>

   Â  Â  Â  Â  Â <td colspan="2" valign="top" class="head1">Multi Bild Upload</td>

   Â  Â  Â  Â </tr>

   Â  Â  Â  Â <tr>

   Â  Â  Â  Â  Â <td class="row2" valign="top">

   Â  Â  Â  Â  Â <b>Bilddatei:</b><br>

   Â  Â  Â  Â  Â <span class="smalltext">

   Â  Â  Â  Â  Â Max. Dateigröße: <b>2000 kb</b><br>

   Â  Â  Â  Â  Â Max. Bildbreite: <b>1024 px</b><br>

   Â  Â  Â  Â  Â Max. Bildhöhe: <b>1024 px</b><br>

   Â  Â  Â  Â  Â </span>

   Â  Â  Â  Â  Â </td>

   Â  Â  Â  Â  Â <td valign="top" class="row2" colspan="2"><b>Upload:</b><br>

   Â  Â  Â  Â  Â <input class="buttonClass" type="file" name="media_file" id="file_upload">

   Â  Â  Â  Â  Â <br>

   Â  Â  Â  Â  Â <span class="smalltext"><b>10</b> Bilder kšnnen gleichzeitig hochgeladen werden.<br><b>Erlaubte Dateitypen: </b> jpg, gif, png, aif, au, avi, mid, mov, mp3, mpg, swf, wav, ra, rm, zip, pdf</span>

   Â  Â  Â  Â  Â </td>

   Â  Â  Â  Â </tr>

   Â  Â  Â </table>

   Â  Â </td>

   Â </tr>

  </table>

Rembrandt

  • Guest
Re: [Mod] Multiupload with jQuery
« Reply #85 on: June 10, 2015, 03:41:39 PM »
Willkommen im Forum, Nexuskk4!

Normalerweise mache ich so etwas nicht mehr, aber wenn du möchtest kannst du mir per PM "FTP" Zugang, Adresse der Webseite , geben.
Dann kann ich mir das die Tage ansehen, alles andere führt zu nichts, außer das der Thread 5 Seiten mehr hat und es trotzdem nicht funktioniert.
Du kannst aber auch selber alles genau noch einmal kontrollieren.

mfg Andi

Offline Jasi

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
Re: [Mod] Multiupload with jQuery
« Reply #86 on: September 17, 2015, 03:38:29 PM »
Hallo Rembrandt,

bei mir läuft Dein Mod SUPER mit der V1.7.6 (auch aus der Steinzeit) und DANKE für Deine tollen und klasse Mods :-) !

Ich habe allerdings das Problem, dass Dein Mod die Bild-Originale NICHT in den Ordner /big abspeichert, sondern gleich verkleinert.

Habe diesen Mod von Vano auch eingebaut (Code ist aus der member.php für den unten stehenden Mod) und das funktioniert leider nicht mit Deinem Multiupload:

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


/--------------------------------------------
//--------- Auto Image Resizing --------------
//--------------------------------------------
                  
if ($config['auto_image'] && !$uploaderror) {
                     
$src_copy MEDIA_PATH."/".$cat_id."/big";
                     if (
$direct_upload) {
                        
$src MEDIA_PATH."/".$cat_id."/".$new_name;
                        
$src_copy MEDIA_PATH."/".$cat_id."/big";
                    }
                    else {
                        
$src MEDIA_TEMP_PATH."/".$new_name;
                    }
                    
$do_resize 0;
               
	
	
	
if (
$image_info = @getimagesize($src)) {
                       if (
$image_info[2] == || $image_info[2] == || $image_info[2] == 3) {
                          
$do_resize 1;
                    
	
	
}
                  
	
}
                  
	
if (
$do_resize) {
                     if (!
function_exists(init_convert_options)) {
                           require(
ROOT_PATH.'includes/image_utils.php');
                        }
                        
$convert_options init_convert_options();
        
	
	
	
	
	
	
	
	
if (!
$convert_options['convert_error']) {
	
	
	
	
	
	
	
	
	
	
	
	
	
if (
$image_info[0] > $config['max_image_width'] || $image_info[1] > $config['max_image_height']) {
	
	
	
	
	
	
	
	
	
	
	
	
	
	
$result true;
	
	
	
	
	
	
	
	
	
	
	
	
	
  if (!@
is_dir($src_copy)) {
	
	
	
	
	
	
	
	
	
	
	
	
	
    
$oldumask umask(0);
	
	
	
	
	
	
	
	
	
	
	
	
	
    
$result mkdir($src_copy);
	
	
	
	
	
	
	
	
	
	
	
	
	
    
umask($oldumask);
	
	
	
	
	
	
	
	
	
	
	
	
	
    if (!@
is_dir($src_copy) || !$result) {
	
	
	
	
	
	
	
	
	
	
	
	
	
      
$result mkdir($src_copy0755);

	
	
	
	
	
	
	
	
	
	
	
	
	
    }
	
	
	
	
	
	
	
	
	
	
	
	
	
  }
	
	
	
	
	
	
	
	
	
	
	
	
	
	
if (
$result == true){
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
copy($src$src_copy."/".$new_name);
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}
	
	
	
                      
$convert_options init_convert_options();
	
	
	
                      if (!
$convert_options['convert_error']) {
	
	
	
                        
$quality = (intval($config['auto_image_quality']) && intval($config['auto_image_quality']) <= 100) ? intval($config['auto_image_quality']) : 100;
	
	
	
                       
	
if (!
resize_image($src$quality$config['max_image_width'], 1)) {
	
	
	
                         
	
 
$msg .= (($msg != "") ? "<br />" "")."<b>".$lang['file_upload_error'].": ".$new_name;
	
	
	
                            
$uploaderror 1;
	
	
	
                         }
	
	
	
                
	
     }
	
	
	
	
                   }else{
	
	
	
	
                   
	
	
$do_resize 0;
	
	
	
	
                   }
                      
	
}
                     }
                  }
//-------------------------------------------




Hast Du eine Lösung das die Originaldateien auch mit Deinem Mod in den Ordner /big hochgeladen werden und für die Deatilansicht die Verkleinerung genommen wird?

Danke schon mal :-)
« Last Edit: September 23, 2015, 10:56:01 PM by Jasi »
LG Jasi

Offline Jasi

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
Re: [Mod] Multiupload with jQuery
« Reply #87 on: September 23, 2015, 11:12:55 PM »
@ ALL

Hallo 4images Community,

hat niemand eine Hilfe und Lösung für mein oben beschriebenes Problem, dass bei diesem Multiupload die Original-Bild-Files NICHT im Ordner /big gespeichert werden?

Danke für Hilfe und Problemlösung :-)
« Last Edit: September 23, 2015, 11:27:40 PM by Jasi »
LG Jasi

Offline Pantii

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [Mod] Multiupload with jQuery
« Reply #88 on: October 11, 2015, 01:57:34 PM »
Hallo und danke für den Mod!
Ich habe nun mehrfach alles noch einmal durchgelesen und verglichen, finde keine Abweichungen zur Erklärung und meinen Änderungen.
Ich sehe den Multiupload Button kann ich auch anklicken.
Die Seite sich dann öffnet ist aber leer, man sieht keine Felder oder dergleichen.

Hat jemand eine Idee ?

Vielen Dank Vorab und Gruß
André

Offline epicor

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [Mod] Multiupload with jQuery
« Reply #89 on: February 10, 2016, 04:23:48 PM »
Heyho :)

Ich weiß, ich bin anscheinend sehr spät dran :D

Aber trotzdem hoffe ich, dass man hier vielleicht noch Hilfe bekommt.

Habe mich genau an deine Anleitung gehalten, jedoch schreit er bei jedem Bild dann "IO Fehler" - siehe Screenshot im Anhang.


Vielleicht irgendeine Ahnung, woher das kommen könnte?
Ein Rechte-Problem irgendwo vielleicht?

Wäre für Hilfe sehr dankbar!

lg,