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: May 2020 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (38 votes - 4.68 average) Installs: 302
Released: 07 Nov 2010 Last Update: 14 Feb 2011 Downloads: 1892
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:	4005
Size:	112.4 KB
ID:	123480   Click image for larger version

Name:	02-02-2011-22.06.39.jpg
Views:	2779
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.
  #541  
Old 07 Jan 2014, 06:51
webmastersitesi webmastersitesi is offline
 
Join Date: Oct 2007
How this system work? when will be images imported? I imported product nothing happened current images
__________________
webmaster forum |webmaster forum
seo
Reply With Quote
  #542  
Old 07 Jan 2014, 08:39
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
It'll take some time to see what happens, because it will handle a number of posts each time the cronjob runs.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #543  
Old 11 Jan 2014, 04:14
tommythejoat's Avatar
tommythejoat tommythejoat is offline
 
Join Date: Apr 2008
Real name: Tom McIntyre
We upgraded our hardware and system software and moved to 4.2.2. Since then this has stopped working.

The symptom is that the inserted image gets replaced as iei runs, but instead of the reference to the imported image we get a reference to the web root.

It has taken some time for the users to notice and complain and then it took me a while to see what they were complaining about.

The iei_img table has about 9,000 references that are mapped to web root. Perhaps that is the placeholder while they are being processed.

We also have another 45 images that map to 2014/01/1.jpg and there is not 2014 folder in the imported images. I would appreciate any insight into why the 2014 images are not coming in. Did something happen as of the first of the year?
Reply With Quote
  #544  
Old 12 Jan 2014, 04:18
tommythejoat's Avatar
tommythejoat tommythejoat is offline
 
Join Date: Apr 2008
Real name: Tom McIntyre
Another possible problem is that many sites are now watermarking their images with PHP and GD dynamically and posting a URL like http://www.fhwatch.com/watermark.php?image=iPW10779a07.jpg. Will iei handle that kind of reference?

The output stream is a valid image as long as the mime type is recognized.

Reply With Quote
  #545  
Old 13 Jan 2014, 08:15
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
The links should work. Does iei create new folders on your server?
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #546  
Old 13 Jan 2014, 13:48
tommythejoat's Avatar
tommythejoat tommythejoat is offline
 
Join Date: Apr 2008
Real name: Tom McIntyre
There are folders going back to 2001 and lots of images. It stopped creating folders for January 2014. There are 65 diffferent references in iei_img to 2014/01/1.jpg so they cannot all be references to the same image. How can I find out where they were harvested from? Can I rely on them being in date order among the posts? I can search for the 2014/01/1.jpg reference and maybe they are in the same orderr as the iei_img table entries.

It is a new server, I am guessing that the cron job runs as vb itself and there might be permission issues on the parent folder /image/imports.
Reply With Quote
  #547  
Old 13 Jan 2014, 15:18
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
If it stopped creating folders in 2014 something has changed. I would suspect that the access rights of the web service can't create folders any more. Since holidays are always the moment where incisive changes take place, maybe your hosting provider has changed something in this area. Or maybe an FTP file permission slipped unintentionally through your hands

Normally, the folder containing the years subfolders should have chmod 755 or 777, depending on the server settings. If it has become for some reason 644 or similar, the directories are seen, but can't change or extend.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #548  
Old 13 Jan 2014, 21:43
tommythejoat's Avatar
tommythejoat tommythejoat is offline
 
Join Date: Apr 2008
Real name: Tom McIntyre
All of the folders have 755 setting. We own the system at a colocation center. They do not maintain the software. We are running WHM/CPanel on Centos.

I think I am missing something about the philosophy of missing images. If the cron job cannot import an image, what does it put in the iei_img table?

It appears to check for an existing file and then increment the name.

The other thing I noticed is that we are getting image urls of the form http://mysite.net/watermark.php?file_identifier.php. Can your code fetch a file of that kind?
Reply With Quote
  #549  
Old 14 Jan 2014, 09:41
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
What it puts in place of missing images depends on the settings in the options. It may replace the image with a local image (e.g. clear.gif), or keep the link as-is (ignore).

It does check for the name and increments if already present in order to create a new set of images each month.

All links are imported. How they translate to your system however depend on the settings, and probably the *.php images have to be converted. If you decide to keep *.php "images", you will have to add a .htaccess rule for excluding php code execution for the imported files.

On my systems I have the file conversion always on (converto to JPG), because it also removes eventually present WORM's or other "crafted" images. Conversion will loose animations and transparency, but this is of much less concern. Crafted images may contain arbitrary runnable code on the client side.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #550  
Old 14 Jan 2014, 13:40
tommythejoat's Avatar
tommythejoat tommythejoat is offline
 
Join Date: Apr 2008
Real name: Tom McIntyre
I will presume that we/I can figure out how to get images to actually upload to our server and actually fix the current problem. It may be related to problems with the image library since we have both GD and ImageMagick installed. It may have something to do with Curl since we also have PHP Soap installed.

If I delete the current repetitive local urls from iei_img and put the original url back in the posts in the order of the posts, and then set iei_parsed back to 0, will the cron job reprocess them?

I would ensure that the cron job can actually process the images and create the local files on my system first.

Last edited by tommythejoat; 14 Jan 2014 at 13:51.
Reply With Quote
  #551  
Old 14 Jan 2014, 14:17
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
By setting iei_parsed to 0 the cronjob will reprocess the records.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #552  
Old 15 Jan 2014, 17:15
majjed2008 majjed2008 is offline
 
Join Date: Dec 2011
Hello

Thank you for this products i like it .
regarding resizing it is default 0 , what is it Cm or PX or what exactly so i can use it in correct way

thank you
Reply With Quote
  #553  
Old 15 Jan 2014, 17:31
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by majjed2008 View Post
Hello

Thank you for this products i like it .
regarding resizing it is default 0 , what is it Cm or PX or what exactly so i can use it in correct way

thank you
px.
__________________
Giovanni
Italian support: http://www.vbulletin.it/
Reply With Quote
  #554  
Old 15 Jan 2014, 20:55
Bob_R Bob_R is offline
 
Join Date: Jun 2009
What I hate about this mod is that you cannot hotlink images.

My server people have tried (thru cPanel) and it appears it's because of this mod.

Does anyone have any comments on this?

Thanks!

EDIT: FYI - I have vBSEO installed

Last edited by Bob_R; 16 Jan 2014 at 00:38.
Reply With Quote
  #555  
Old 16 Jan 2014, 08:36
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Real name: Giovanni
Originally Posted by Bob_R View Post
What I hate about this mod is that you cannot hotlink images.

My server people have tried (thru cPanel) and it appears it's because of this mod.

Does anyone have any comments on this?

Thanks!

EDIT: FYI - I have vBSEO installed
In fact the idea is to move entirely hotlinked images to your server. If this isn't what you want, then it is not a mod you should use
__________________
Giovanni
Italian support: http://www.vbulletin.it/
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 11:51.

Layout Options | Width: Wide Color: