Title: Thumbnail uploads hack / image upload&gt;thumbnail ha
Last modified: December 23, 2016

---

# Thumbnail uploads hack / image upload>thumbnail ha

 *  [kayaker](https://wordpress.org/support/users/kayaker/)
 * (@kayaker)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/thumbnail-uploads-hack-image-uploadthumbnail-ha/)
 * It seems the thread ([http://wordpress.org/support/10/1111#post-28](http://wordpress.org/support/10/1111#post-28))
   was cold so…
 * > The file upload works fine, but and thumbnail creation or insertion into my
   > posts is not. No errors or any indication that I installed (or tried to) the
   > hack. The only way I know I did something is that the image upload works, where
   > before the hack, it did not.
   >  I went to Migon’s site and was impressed by the
   > nested thumbnail graphics and am assuming that this hack does this very thing.
   > Upload graphics, thumbnails them, inserts them into post text, and allows for
   > thumbnail linked full image pop ups. I’ve been snooping and found a “require
   > once” call to b2header.php. Am I supposed to have this file? (yes, obviously)
   > If so where should have it come from, and where do I get it?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Cena (a11n)](https://wordpress.org/support/users/cena/)
 * (@cena)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/thumbnail-uploads-hack-image-uploadthumbnail-ha/#post-39362)
 * It looks like that hack is for an older version of WP. Depending on what version
   you’re using, you may not have b2header.php. Since 1.0, WP filenames all use 
   a wp- extension (rather than b2-).
    You *might* be able to replace the b2 references
   with equivalent WP ones, but that’d be for others wiser than I to say with certainty.
   🙂
 *  Anonymous
 * [22 years, 2 months ago](https://wordpress.org/support/topic/thumbnail-uploads-hack-image-uploadthumbnail-ha/#post-39833)
 * I got the upload page to show and browse for image. Problem I ran into is this:
   
   Warning: getimagesize(/wp2w/wp-images/9.gif): failed to open stream: No such 
   file or directory in /home/forcefor/public_html/wp2w/wp-admin/b2upload.php on
   line 230 Warning: imagecreatefromgif(/wp2w/wp-images/9.gif): failed to open stream:
   No such file or directory in /home/forcefor/public_html/wp2w/wp-admin/resize.
   php on line 50 Warning: imagecreatetruecolor(): Invalid image dimensions in /
   home/forcefor/public_html/wp2w/wp-admin/resize.php on line 127 Fatal error: Call
   to undefined function: imagegif() in /home/forcefor/public_html/wp2w/wp-admin/
   resize.php on line 138 ============== But then I went and tweak it abit, now 
   it gives me this: Upload environment Upload path: home/public_html/wp2w/wp-images/
   Directory not Exists Max w or h 150 px (you might edit this on line 25 in b2upload.
   php file) File Types: GIF – GIF98 NOT! supported JPG – JPG OK! – supported PNG–
   PNG OK! – supported PHP environment: openbase_dir – Something is wrong EXIF –
   EXIF NOT! supported ====================== I am stuck at this point.
 *  [xtool](https://wordpress.org/support/users/xtool/)
 * (@xtool)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/thumbnail-uploads-hack-image-uploadthumbnail-ha/#post-39937)
 * Ok, I got this thing to upload > shows thumbnail’s link. But does it give clickable
   option to view full size? If it does has it, my copy of the hack is not generating
   it.
 *  Anonymous
 * [22 years, 1 month ago](https://wordpress.org/support/topic/thumbnail-uploads-hack-image-uploadthumbnail-ha/#post-40082)
 * The problem is: this hack is written using GDlib and not imagemagick
    From [http://www.php.net/imagegif](http://www.php.net/imagegif):“
   Note: Since all GIF support was removed from the GD library in version 1.6, this
   function is not available if you are using that version of the GD library. Support
   is expected to return in a version subsequent to the rerelease of GIF support
   in the GD library in mid 2004.” So, no thumbnails for GIF files 🙁
 *  [Joe](https://wordpress.org/support/users/joe/)
 * (@joe)
 * [22 years ago](https://wordpress.org/support/topic/thumbnail-uploads-hack-image-uploadthumbnail-ha/#post-40160)
 * Update On This:
    Unisys’ Gif worldwide patent expires July 7th, 2004 and GIF 
   support will likely be added back to GD shortly thereafter! So, we won’t have
   to wait much longer

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Thumbnail uploads hack / image upload>thumbnail ha’ is closed to new 
replies.

 * 5 replies
 * 5 participants
 * Last reply from: [Joe](https://wordpress.org/support/users/joe/)
 * Last activity: [22 years ago](https://wordpress.org/support/topic/thumbnail-uploads-hack-image-uploadthumbnail-ha/#post-40160)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
