VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: rupesh on April 27, 2012, 16:12:48 PM

Title: how to hack mediahandler.php for uploading images
Post by: rupesh on April 27, 2012, 16:12:48 PM
Hi guys

can anybody having idea about adding 3 images for products simultaneously using mediahandler.php in vm2.0

plz dont tell me about multiupload plugin as it is very costly for $30!


thanks for consideration
rupesh

[attachment cleanup by admin]
Title: Re: how to hack mediahandler.php for uploading images
Post by: rupesh on April 27, 2012, 16:54:32 PM
success to select multiple images by modifying line 1132 in mediahandler.php

         $html .= JText::_('COM_VIRTUEMART_FILE_UPLOAD').' <input type="file" name="upload[]" type="file" multiple id="upload" size="50" class="inputbox" /><br />';

but now trying to work on it

any help on this much appreciated!
Title: Re: how to hack mediahandler.php for uploading images
Post by: czaras on December 04, 2013, 13:33:44 PM
hi

Did it work?