Convert image all

Convert image all [Paid] 5.7

No permission to buy ($35.00)
I see several versions of this addon. Is there one that does the following:

Process only X number of posts at a time and
Allows a specific domain to be included, i.e. process only one domain at a time.

Thanks
 
Is there a task to run retroactively? Use case: After an import, turn linked images into attachments.
 
So if I import an old forum to XF, and run this, it will turn all the old linked images to attachments? And then I can disable this going forward?
 
So if I import an old forum to XF, and run this, it will turn all the old linked images to attachments? And then I can disable this going forward?
I just found this, but I as I understand it you have to run it periodically to catch new linked images. Correct?

Does this actually place the image in the post or does it make a thumbnail at the bottom of the post?

Is there a way to set up a cron task to run this nightly?
 
I just found this, but I as I understand it you have to run it periodically to catch new linked images. Correct?

Does this actually place the image in the post or does it make a thumbnail at the bottom of the post?

Is there a way to set up a cron task to run this nightly?
No. There are two addons, Convert Image and Convert Image All.

This version, Convert Image All, is used only for converting historical data. The main addon, Convert Image, takes care of linked images in new posts going forward once it's setup.

For the post, it downloads the image from the remote server and adds it as an attachment. It then changes the URL reference in the post content itself to direct the image to the attachment version instead of the remote version.
 
No. There are two addons, Convert Image and Convert Image All.

ahhh, I missed that. Thank you.

As for the other part of the question....

If I have a linked image in a post like this:
Screen Shot 2021-04-21 at 11.28.59 AM.webp

Will it still appear that way once downloaded or will it be an attachment like this:
Screen Shot 2021-04-21 at 11.29.17 AM.webp
 
I am getting this error on a post made with no attachment. Any idea?

  • rrorException: Maximum attachment image dimensions must be greater than 0.
  • src/XF/Error.php:75
  • Generated by: JayT
  • Jul 30, 2021 at 1:49 AM

Stack trace​

#0 src/addons/Andy/ConvertImage/Listener.php(65): XF\Error->logError('Maximum attachm...')
#1 [internal function]: Andy\ConvertImage\Listener::threadEntityPostSave(Object(XFMG\XF\Entity\Post))
#2 src/XF/Extension.php(50): call_user_func_array(Array, Array)
#3 src/XF.php(954): XF\Extension->fire('entity_post_sav...', Array, 'XF\\Entity\\Post')
#4 src/XF/Mvc/Entity/Entity.php(1272): XF::fire('entity_post_sav...', Array, 'XF\\Entity\\Post')
#5 src/XF/Mvc/Entity/Entity.php(1260): XF\Mvc\Entity\Entity->save(true, false)
#6 src/XF/Service/Thread/Creator.php(494): XF\Mvc\Entity\Entity->save(true, false)
#7 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Thread\Creator->_save()
#8 src/XF/Pub/Controller/Forum.php(910): XF\Service\Thread\Creator->save()
#9 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Forum), NULL)
#11 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Forum), NULL)
#12 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#14 src/XF.php(512): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}

Request state​

array(4) {
["url"] => string(48) "/community/forums/site-information.2/post-thread"
["referrer"] => string(68) "https://xxx.com/community/forums/site-information.2/post-thread"
["_GET"] => array(0) {
}
["_POST"] => array(13) {
["title"] => string(20) "Welcome to XXX"
["discussion_type"] => string(10) "discussion"
["message_html"] => string(308) "<p>XXX</p>"
["attachment_hash"] => string(32) "29544185ec44330a399a65d44f683b0a"
["attachment_hash_combined"] => string(81) "{"type":"post","context":{"node_id":2},"hash":"29544185ec44330a399a65d44f683b0a"}"
["watch_thread"] => string(1) "1"
["watch_thread_email"] => string(1) "1"
["_xfSet"] => array(3) {
["watch_thread"] => string(1) "1"
["discussion_open"] => string(1) "1"
["sticky"] => string(1) "1"
}
["discussion_open"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(48) "/community/forums/site-information.2/post-thread"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}

https://skunkfam.com/community/admin.php?logs/server-errors/2/delete
 
Back
Top Bottom