Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Import External Images Details »»
Import External Images
Version: 1.0.5, by y2ksw y2ksw is offline
Developer Last Online: Feb 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.x.x Rating:
Released: 11-06-2010 Last Update: 02-13-2011 Installs: 300
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

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

File Type: zip 1.0.2.iei4.zip (80.0 KB, 477 views)
File Type: zip 1.0.4.iei4.zip (84.5 KB, 185 views)
File Type: zip 1.0.5.iei4.zip (87.5 KB, 2158 views)

Screenshots

File Type: jpg 08-11-2010-11.32.53.jpg (112.4 KB, 0 views)
File Type: jpg 02-02-2011-22.06.39.jpg (126.0 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #632  
Old 01-24-2015, 11:42 AM
dorans's Avatar
dorans dorans is offline
 
Join Date: Dec 2010
Location: Novi Sad, Srbija
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

regards,
How to download the original image size, not thumbnails?
With postimage.org or other ...
Reply With Quote
  #633  
Old 01-24-2015, 12:08 PM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #634  
Old 01-24-2015, 02:09 PM
dorans's Avatar
dorans dorans is offline
 
Join Date: Dec 2010
Location: Novi Sad, Srbija
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Postimage via script sends the thumbnail link.
IE download icon instead of the whole picture ... Or I something wrong?
Reply With Quote
  #635  
Old 01-25-2015, 07:16 AM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #636  
Old 01-25-2015, 11:59 AM
dorans's Avatar
dorans dorans is offline
 
Join Date: Dec 2010
Location: Novi Sad, Srbija
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you,
I understand the function. The problem is for technical drawings. As thumbnails are useless.
Mod works completely correctly.
Reply With Quote
  #637  
Old 01-25-2015, 01:33 PM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #638  
Old 02-16-2015, 10:34 AM
dorans's Avatar
dorans dorans is offline
 
Join Date: Dec 2010
Location: Novi Sad, Srbija
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #639  
Old 02-16-2015, 12:03 PM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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)
Reply With Quote
  #640  
Old 02-16-2015, 12:41 PM
dorans's Avatar
dorans dorans is offline
 
Join Date: Dec 2010
Location: Novi Sad, Srbija
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I assumed it.
The problem is that it remains a link to postimage. Gonna remove.
thanks,
Reply With Quote
  #641  
Old 03-10-2015, 12:18 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great mod and it's been very useful to our forums over the past several years.. :up:

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
Reply


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

Forum Jump


All times are GMT. The time now is 07:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05224 seconds
  • Memory Usage 2,368KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (20)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete