The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Import External Images Details »» | |||||||||||||||||||||||||||||||||||
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
Screenshots
Supporters / CoAuthors Show Your Support
|
20 благодарности(ей) от: | ||
Baja, bond010007, cRipTz, da_judge, Delfi_r, hivitro, imported_EkSeS, john7911, kafi, mescalin, mohammadxxx, RichieBoy67, sweetpotato, tbworld, Techno Cowboy, The_Hawk, thomas, Virus81, xertox, Zero13 |
Comments |
#542
|
|||
|
|||
How this system work? when will be images imported? I imported product nothing happened current images
|
#543
|
||||
|
||||
It'll take some time to see what happens, because it will handle a number of posts each time the cronjob runs.
|
#544
|
||||
|
||||
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? |
#545
|
||||
|
||||
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. |
#546
|
||||
|
||||
The links should work. Does iei create new folders on your server?
|
#547
|
||||
|
||||
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. |
#548
|
||||
|
||||
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. |
#549
|
||||
|
||||
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? |
#550
|
||||
|
||||
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. |
#551
|
||||
|
||||
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. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|