Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Import External Images Details »
Import External Images
Mod Version: 1.0.5, by y2ksw (Coder) y2ksw is offline
Developer Last Online: Jan 2021 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (38 votes - 4.68 average) Installs: 301
Released: 07 Nov 2010 Last Update: 14 Feb 2011 Downloads: 1903
Supported DB Changes Uses Plugins Additional Files Translations  

This vBulletin 4 product imports external images in your posts from external servers or paths into a specific path, normally your forum's image folder.

Differently than the previous product Image Cache for vBulletin 3.x., it parses the posts at regular intervals for new images and replaces the external references in the background. Also, instead of using only a single folder, it creates folders for years and months, making it much easier to handle large quantities of images. The source and destination image URL's are stored into database, too, avoiding unnecessary duplicates.

It moves and optionally converts images from one place to another. It is a handy tool in order to keep your images local to your forums.

Version 1.0.4 is temporarily in BETA stage until the users have confirmed the newly requested features.
Version 1.0.5 is still in BETA stage. It adds a new bunch of additional features, one of which allows you to test your mathematical understanding ... and a few other to fine-tune CURL and socket timeouts, and resizing on the fly of too large images. If you don't know what these options do, please leave them at their default values.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	08-11-2010-11.32.53.jpg
Views:	4024
Size:	112.4 KB
ID:	123480   Click image for larger version

Name:	02-02-2011-22.06.39.jpg
Views:	2792
Size:	126.0 KB
ID:	126356  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #631  
Old 24 Jan 2015, 13:42
dorans's Avatar
dorans dorans is offline
 
Join Date: Dec 2010
Real name: Zoran D.
regards,
How to download the original image size, not thumbnails?
With postimage.org or other ...
Reply With Quote
  #632  
Old 24 Jan 2015, 14:08
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by dorans View Post
regards,
How to download the original image size, not thumbnails?
With postimage.org or other ...
Normally, the images are imported in their original size. If you intended to download a different, attached image to a specific URL, this is not possible.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #633  
Old 24 Jan 2015, 16:09
dorans's Avatar
dorans dorans is offline
 
Join Date: Dec 2010
Real name: Zoran D.
Postimage via script sends the thumbnail link.
IE download icon instead of the whole picture ... Or I something wrong?
Reply With Quote
  #634  
Old 25 Jan 2015, 09:16
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by dorans View Post
Postimage via script sends the thumbnail link.
IE download icon instead of the whole picture ... Or I something wrong?
The idea behind this plugin is to save the image of the URL the user has pasted into a post. Thus, if it is the thumbnail, the thumbnail is imported.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #635  
Old 25 Jan 2015, 13:59
dorans's Avatar
dorans dorans is offline
 
Join Date: Dec 2010
Real name: Zoran D.
thank you,
I understand the function. The problem is for technical drawings. As thumbnails are useless.
Mod works completely correctly.
Reply With Quote
  #636  
Old 25 Jan 2015, 15:33
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by dorans View Post
thank you,
I understand the function. The problem is for technical drawings. As thumbnails are useless.
Mod works completely correctly.
If there are reproducible rules between thumbnails and the drawings, then you may eventually replace the thumbnail URL's before running this plugin's task.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #637  
Old 16 Feb 2015, 12:34
dorans's Avatar
dorans dorans is offline
 
Join Date: Dec 2010
Real name: Zoran D.
Me again

After the import I have this link:

[URLl="http://postimg.org/image/txakyobrx/"][/URL]

How can I avoid this part? [URL = "http://postimg.org/image/txakyobrx/"] and [/ URL]
thanks,
Reply With Quote
  #638  
Old 16 Feb 2015, 14:03
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by dorans View Post
Me again

After the import I have this link:

[URLl="http://postimg.org/image/txakyobrx/"][IMG]mysite.com/dddd/image/2014/11/108.jpg[/IMG][/URL]

How can I avoid this part? [URL = "http://postimg.org/image/txakyobrx/"] and [/ URL]
thanks,
You can't. This plugin does handles only image tags and ignores the rest. As the URL tag is surrounding the image, it is ignored. Eventually you may craft a special query which allows removing surrounding URL's, but this is far beyond of the scope here. (See MySQL REGEXP)
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #639  
Old 16 Feb 2015, 14:41
dorans's Avatar
dorans dorans is offline
 
Join Date: Dec 2010
Real name: Zoran D.
I assumed it.
The problem is that it remains a link to postimage. Gonna remove.
thanks,
Reply With Quote
  #640  
Old 10 Mar 2015, 14:18
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
This is a great mod and it's been very useful to our forums over the past several years..

In fact, we sent y2ksw a large donation way back when to thank him for his work...

The only serious problem we've ever experienced is that nagging issue of handling a picture someone uploads that's too large for the mod to handle.

Refer to old posts 167 and 168 (and older) where we discussed it and "Bird of Prey" also helped with figuring out what could be done, to some degree.

Since there wasn't an obvious solution then, we simply got into the habit of manually running the mod every morning during maintenance routines, to make sure it completed and didn't get hung on any large pics members had uploaded.

Well, that worked fine for the last 24 months and ironically, we never had one hang, except for this morning. A member must have uploaded an 8Mb pic sometime yesterday and today when we manually ran and checked completion of the mod, it simply hung at the very start. We turned on the logging to see if we could figure out where it was hung, but there was no data there, so it must have been the very first pic it tried to import at some point.

So, we began the laborious task of going through hundreds of threads for the last day or so, trying to find one with an IMG pic that was too large for the mod to handle. After a few hours we found the 8 Megabyte sized pic, downloaded and resized it, then put it back.

We then re-ran the import mod and it worked fine, completing the import of this (now smaller) pic, as well as others that had been uploaded in the last 24 hours.

So, why am I posting?

Well, it was a real pain in the a$$ to have to manually sift through all those threads looking for a single pic that cause the import mod to hang and lock up. So, I was wondering if anyone had any ideas how we could automate a search for excessively large pics, so we could manually fix them and get y2ksw's mod going again?

I gather you can't catch large pics before downloading them into the site, so it appears we have to live with the "hanging" issue, but it would be great if we could somehow find the offending pic(s) easier when that happens.

Anyone have any ideas?

Thanks..

Regards,
Doug
Reply With Quote
  #641  
Old 10 Mar 2015, 15:47
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Well, one idea could be to attempt to download the image prior to examine its size, but then eventually you have other problems, such as streams, which could never finish.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #642  
Old 13 Mar 2015, 13:45
Johnny G Johnny G is offline
 
Join Date: Mar 2009
Real name: John Gaskell
You could always limit the size of a file to be uploaded to be <8Mb (or whatever the nominal size of the image is)?
Reply With Quote
  #643  
Old 13 Mar 2015, 13:52
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by Johnny G View Post
You could always limit the size of a file to be uploaded to be <8Mb (or whatever the nominal size of the image is)?
Hmm...

Where do I do that under vBulletin 4.13?

.. and how would vBulletin know the size of the file in advance of actually having to download it?

Thanks for the feedback ... appreciate it..

Regards,
Doug
Reply With Quote
  #644  
Old 13 Mar 2015, 22:16
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by Johnny G View Post
You could always limit the size of a file to be uploaded to be <8Mb (or whatever the nominal size of the image is)?
It sounds easy, but isn't.

It would require a raw socket connection and manual reading of the file, and stop reading if it has reached 8 MB. Then however, it would be possible to add a timer, too, and abort slow files as well. Also, it would allow to examine the file header before downloading the whole file and thus discard no-image files efficiently. But it would take a bunch of code and yet more options.

Then we remove the CURL code, but we'll loose the redirect features and SSL. Thus, it'll fail with Facebook, Imageshack, Google images, just to name a few.

I would say, it is a no-go.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #645  
Old 05 Jul 2015, 11:49
bmwfans bmwfans is offline
 
Join Date: Dec 2009
Great idea! Do you know if this is going to work on 3.8.9?
Reply With Quote
Reply

Tags
lisansdevir


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:21.

Layout Options | Width: Wide Color: