Convert Image

Convert Image 5.6

No permission to download
Getting report from members with error :
fopen(/home/westcoa1/public_html/misc/convertimage.log): failed to open stream: Is a directory
  1. XenForo_Application::handlePhpError()
  2. fopen() in Andy/ConvertImage/DataWriter.php at line 472
  3. Andy_ConvertImage_DataWriter->mainLoop() in Andy/ConvertImage/DataWriter.php at line 48
  4. Andy_ConvertImage_DataWriter->save() in Andy/FirstPostEmail/DataWriter.php at line 8
  5. Andy_FirstPostEmail_DataWriter->save() in XenForo/ControllerPublic/Thread.php at line 548
  6. XenForo_ControllerPublic_Thread->actionAddReply() in XenForo/FrontController.php at line 347
  7. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  8. XenForo_FrontController->run() in /home/westcoa1/public_html/index.php at line 13

Verified that same, results .
 
Hi there , based on reading it looks like you have the right permissions set as you are seeing some photos.
It seems to be size , images over 620px × 407px show up on my site why images I have around 415px × 332px
do not, making me think its a 600x400 minimum. The addon creator troubleshooted this with me and this was the limit
I found was what would show and what would not. And all of mine are JPG.
 
  • Like
Reactions: CNK
To give some feedback on Andy's excellent add on.

With his help I installed both convert image and convert all and it works well when transferring images from other urls.
However this application functions differently with different browsers.

Firefox and Chrome (I don't know about safari and others) show the images using image convert, but IE (all new versions apparently) does not if an already converted image is reused on an xenforo forum.
So one cannot use the new xenforo server address to reuse such images, but must either retransfer them via convert image or upload them the standard way.

With IE a thumbnail icon shows, carrying however the correct xenforo server url.

TonyB
 
I found a bug with Facebook image link. It works fine when embedded, but when open image in new tab it downloads the image instead of displaying it. Here is my test posted in my site and original image:

http://สภากาแฟ.net/attachments/oh-5...4911381_b22a88115b66a31bd49b5c8133513027.368/
https://fbcdn-sphotos-a-a.akamaihd...._=1424911381_b22a88115b66a31bd49b5c8133513027

If I go to change filename field in xf_attachment_data to something end with .jpg, first link will display image.

Suggested fix: remove query string and use last part of the URL path as filename, suffixed with image extension if necessary.
 
I found an issue, the thumbnail conversion stops working if you add multiple images without pressing enter in between.
 
Thx for good plugin.
Work fine if URL of image begin with "http://"
But when I try to insert img from here (media gallery) that begin with "https://" your plugin not work.
Why?
 
Hey Andy, having trouble with this... I just tested it and I get this:
http://www.dsmtuners.com/threads/ga...ed-parts-for-1g-and-2g.459724/#post-153485183

If you click on the link the attachment loads, but it's not displaying inline for some reason. When I edit the post it has the correct ATTACH=full code.

Same issue with the Convert All plugin. I've verified I have ImageMagick set for the image processor.
Found out that the problem was due to the Thumbnails by Waindigo plugin I am using. Seems these two plugins are incompatible. Bummer.
https://xenforo.com/community/threads/thumbnails-by-waindigo.27530/page-26#post-826289
 
Top Bottom