vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Import External Images (https://vborg.vbsupport.ru/showthread.php?t=253309)

dorans 01-24-2015 11:42 AM

regards,
How to download the original image size, not thumbnails?
With postimage.org or other ...

y2ksw 01-24-2015 12:08 PM

Quote:

Originally Posted by dorans (Post 2534304)
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.

dorans 01-24-2015 02:09 PM

Postimage via script sends the thumbnail link.
IE download icon instead of the whole picture ... Or I something wrong?

y2ksw 01-25-2015 07:16 AM

Quote:

Originally Posted by dorans (Post 2534335)
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.

dorans 01-25-2015 11:59 AM

thank you,
I understand the function. The problem is for technical drawings. As thumbnails are useless.
Mod works completely correctly.

y2ksw 01-25-2015 01:33 PM

Quote:

Originally Posted by dorans (Post 2534457)
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.

dorans 02-16-2015 10:34 AM

Me again :)

After the import I have this link:

[URLl="http://postimg.org/image/txakyobrx/"]https://vborg.vbsupport.ru/[/URL]

How can I avoid this part? [URL = "http://postimg.org/image/txakyobrx/"] and [/ URL]
thanks,

y2ksw 02-16-2015 12:03 PM

Quote:

Originally Posted by dorans (Post 2537662)
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)

dorans 02-16-2015 12:41 PM

I assumed it.
The problem is that it remains a link to postimage. Gonna remove.
thanks,

BadgerDog 03-10-2015 12:18 PM

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


All times are GMT. The time now is 11:57 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01780 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete