Title: Image Upload Hack for Multiple Images?
Last modified: August 18, 2016

---

# Image Upload Hack for Multiple Images?

 *  [mpm](https://wordpress.org/support/users/mpm/)
 * (@mpm)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/)
 * I dearly, dearly need to be able to upload multiple images at the one time from
   the write page.
 * Can someone (pretty)please steer me in the right direction.
 * I want to keep things as absolutely simple for my users as possible and do not
   want them to ftp their images.
 * Nor do I need them to be able to edit and refine the images.
 * Nor do I need thumbnails in the posts, just the images.
 * All I want is for them to be able to upload more than one image at a time.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/page/2/?output_format=md)

 *  Thread Starter [mpm](https://wordpress.org/support/users/mpm/)
 * (@mpm)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-373965)
 * I’ve been searching, searching everywhere for what seems like months now and 
   haven’t been able to find a solution to this problem. Surely I am not the only
   one who needs/wants this hack?
 *  [ladydelaluna](https://wordpress.org/support/users/ladydelaluna/)
 * (@ladydelaluna)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-373966)
 * well first, i don’t think that a “hack” would do it… it’s going to need a plugin.
 * and yes, it would be great if someone could come up with something like this…
 * (incidentally – creating three different threads on this same topic probably 
   isn’t the best idea…)
 *  Thread Starter [mpm](https://wordpress.org/support/users/mpm/)
 * (@mpm)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-373982)
 * Yes, sorry about that.
 *  [3stripe](https://wordpress.org/support/users/3stripe/)
 * (@3stripe)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-373983)
 * I’d love to see this feature as well!
 * It would also be brilliant if the plugin had the option to automatically resize
   any large images to something more usable, and also an option to set the quality
   of resized or thumbnail images. (I think you can only control thumbnail quality
   by hacking at the moment)
 * Or what about support for sets of zipped images?
 * Woooah, I’ll stop there, that sounds complicated enough already!
 *  [stahn](https://wordpress.org/support/users/stahn/)
 * (@stahn)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-373985)
 * [http://familypress.net/archives/photopress-094/](http://familypress.net/archives/photopress-094/)
 * Use version 0.9.2, 0.9.4 is really buggy.
 *  Thread Starter [mpm](https://wordpress.org/support/users/mpm/)
 * (@mpm)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-373991)
 * Can you upload multiple images (at the one time) with this though?
 *  [stahn](https://wordpress.org/support/users/stahn/)
 * (@stahn)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-373995)
 * Ten images maximum.
 *  [yoshi](https://wordpress.org/support/users/yoshi/)
 * (@yoshi)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-373998)
 * I wanted the same feature and hacked inline-uploading.php to arrow multiple files
   and I changed it to a plugin
 * It’s very simple but if you JUST need multi-files feature, this would help.
 * [wordpress.ex-libris.jp/200604/inline-multiple-uploading/](http://wordpress.ex-libris.jp/200604/inline-multiple-uploading/)
 * Currently it’s only been tested with FF+Win2000.
    If using other browsers, pls
   forgive me for potential bugs. Testers are always welcome:).
 *  Thread Starter [mpm](https://wordpress.org/support/users/mpm/)
 * (@mpm)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-374002)
 * Thanks Yoshi, I’ll look into that. You wouldn’t also know how to limit the image
   dimensions as well would you? I don’t want my users to be able to upload/post
   images that over 250 pixels high or 450 pixels wide.
 *  [3stripe](https://wordpress.org/support/users/3stripe/)
 * (@3stripe)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-374003)
 * I still think most of the options mentioned in this thread should be controllable
   by default somewhere in the admin panel!
 *  [yoshi](https://wordpress.org/support/users/yoshi/)
 * (@yoshi)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-374004)
 * MPM, maybe you can do something like this.
 * =========================================
    ` <?php /* Plugin Name: Check Image
   Dementions */
 * add_action ('add_attachment', 'r_check_image_dimentions');
 * function r_check_image_dimentions($post_ID) {
 *  // chenge these
    // ============ $maxwidth = 450; $maxheight = 250;
 *  $post = & get_post($post_ID);
    if ( preg_match('!^image/!', $post->post_mime_type)){
   $file = get_post_meta($post->ID, '_wp_attached_file', true); $imagesize = getimagesize(
   $file); if ( $imagesize['0'] > $maxwidth || $imagesize['1'] > $maxwidth ) { wp_delete_attachment(
   $post_ID); die("Image must be smaller than $maxwidth x $maxheight" . 'post_parent.'"
   >'.__('Back to Image Uploading').''); } } } ?> ==============================
   ===========
 *  Thread Starter [mpm](https://wordpress.org/support/users/mpm/)
 * (@mpm)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-374005)
 * Hi Yoshi,
 * Thanks heaps. Your multiple image plugin seems to be working a charm!
 * However, the limitdimensions one gives me this error:
 * Parse error: syntax error, unexpected ‘”‘ in /home/mpmorg/public_html/solfege/
   wp-content/plugins/limitimagedimensions.php on line 22
 *  [yoshi](https://wordpress.org/support/users/yoshi/)
 * (@yoshi)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-374007)
 * Looks like the ‘a’ tag was parsed. Didn’t notice.
 * Here is the code again.
 * `
    <?php /* Plugin Name: Check Image Dementions */
 * add_action ('add_attachment', 'rx_check_image_dimentions');
 * function rx_check_image_dimentions($post_ID) {
 *  $maxwidth = 450;
    $maxheight = 250;
 *  $post = & get_post($post_ID);
    if ( preg_match('!^image/!', $post->post_mime_type)){
   $file = get_post_meta($post->ID, '_wp_attached_file', true); $imagesize = getimagesize(
   $file); if ( $imagesize['0'] > $maxwidth || $imagesize['1'] > $maxwidth ) { wp_delete_attachment(
   $post_ID); die("Image must be smaller than $maxwidth x $maxheight !!!" . '<br/
   ><a href="' . $_SERVER['HTTP_REFERRER'] . '?action=upload&post=' . $post->post_parent.'"
   >'.__('Back to Image Uploading').'</a>'); } } } ?>
 *  [nmallory](https://wordpress.org/support/users/nmallory/)
 * (@nmallory)
 * [20 years ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-374038)
 * Did you get this working?
 *  [derekc](https://wordpress.org/support/users/derekc/)
 * (@derekc)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/#post-374071)
 * IMAGES: I’ve just arrived in the wordpress community, and am finding this topic
   a litle hard to come to grips with.
 * I’d like multiple image uploads, and find the plug-in library and the supporting
   detail a little hard to get sure I have a current version, and to not overkill(
   first load this, then do this, then this etc).
 * I have some other preferences. I’d love
    *on the fly resizing/cropping for single
   images *and resizing for batch mode. — I have started with the list at [http://codex.wordpress.org/Plugins/Images](http://codex.wordpress.org/Plugins/Images)—
   Photopress has this to say: [http://familypress.net/photopress/](http://familypress.net/photopress/)“
   Photopress Photopress is a plugin that adds a set of helper tools to WordPress
   to make working with images easier. It adds a pop-up uploader and a pop-up image
   browser to the posting page, a groovy random image function for your template,
   and a simple album to display the photos you’ve uploaded.
 * Latest version: Download photopress.zip or photopress.tar.gz.
 * Requirements:
    Photopress works with both WordPress 1.5.2 and 2.0. It works both
   with and without the Rich Text Editor in WP 2.0. You must have the GD module 
   for PHP installed and working, but it should let you know if you don’t”
 * 2.0 is a good start, unsure what GD is.
    — And this: [http://www.animalbeach.net/aniga/](http://www.animalbeach.net/aniga/)
   I quote: ANIga (v0.30) is a picture gallery wordpress plugin. Its integrated 
   in the WP posts system and uses the WP comments for pictures. This is an early
   release of this plugin. Some things might not work properly, some features are
   still missing. USE AT OWN RISK! I appreciate any feedback! requirements
 * * WP 2.0.4 (could maybe work with 2.0.3 but NOT with 2.0 and lesser!)
    * ftp 
   access to your server * GD 2.0+ and JPEG libraries compiled into PHP for automatic
   image resize * ’safe mode’ off for zip upload — This seems to be superb. Just
   a bit daunting to install.
 * I have installed [http://www.soderlind.no/archives/2006/01/03/imagemanager-20/](http://www.soderlind.no/archives/2006/01/03/imagemanager-20/)
   
   Just for nterest, but it does’t qite have the functonality I need.
 * Hmm. Any suggestions welcome. I’ve RSS’ed this thread, I’l be back as I try tome
   more on the humungous list of plugins.
 * -Derek

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/page/2/?output_format=md)

The topic ‘Image Upload Hack for Multiple Images?’ is closed to new replies.

## Tags

 * [for?](https://wordpress.org/support/topic-tag/for/)
 * [multiple](https://wordpress.org/support/topic-tag/multiple/)

 * 20 replies
 * 10 participants
 * Last reply from: [yoshi](https://wordpress.org/support/users/yoshi/)
 * Last activity: [19 years, 1 month ago](https://wordpress.org/support/topic/image-upload-hack-for-multiple-images/page/2/#post-374112)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
