Module: Embed Images
Posted by Maurice Makaay
October 21, 2010 02:25PM |
Registered: 14 years ago Posts: 24 |
yeah he said imageshack was playing around for him , so he just used the forums image uploader
what he has on his page is an imageshack image with the bbcode
and i turned on "show attachments as embeded image"
so the last two "loading images" are the attachements he uploaded (i just enabled every checkbox to show you the errors)
(but im going to upgrade now and see what happens)
Edit: i upgraded with your 1.1.1version, and still is the same
Edited 1 time(s). Last edit at 10/21/2010 02:40PM by deadguy.
what he has on his page is an imageshack image with the bbcode
and i turned on "show attachments as embeded image"
so the last two "loading images" are the attachements he uploaded (i just enabled every checkbox to show you the errors)
(but im going to upgrade now and see what happens)
Edit: i upgraded with your 1.1.1version, and still is the same
Edited 1 time(s). Last edit at 10/21/2010 02:40PM by deadguy.
October 21, 2010 05:40PM |
Admin Registered: 20 years ago Posts: 8,532 |
I don't know what is causing the issue for you. What happens, is that an Ajax request is done to the server. The script on the server will download the image from the internet and check its size. if it's too large, the image is scaled down. The result is returned to the browser, where the image can then be shown. This is what goes on during the Ajax call.
Since this is all server side processing, it's not really possible to see what's going on from the outside. Can you check the server logs to see if there are errors popping up? Or maybe easier: enable the event logging module and check if log messages are generated (you can view these from within the event logging module settings).
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Since this is all server side processing, it's not really possible to see what's going on from the outside. Can you check the server logs to see if there are errors popping up? Or maybe easier: enable the event logging module and check if log messages are generated (you can view these from within the event logging module settings).
Maurice Makaay
Phorum Development Team



October 22, 2010 12:56PM |
Registered: 14 years ago Posts: 24 |
Hey Maurice ,
So i tried both the codes you uploaded since my last post but they didnt work
but i did notice in the module control this :
looks like it cant download my images ?
Thanks,
Sam.
So i tried both the codes you uploaded since my last post but they didnt work
but i did notice in the module control this :
Debugging problems Platform support for the http_get API layer OK Download test (tries to load [www.google.com]) NOT OK Platform support for the image API layer OK (using method "gd")
looks like it cant download my images ?
Thanks,
Sam.
October 22, 2010 01:59PM |
Admin Registered: 20 years ago Posts: 8,532 |
Yeah, this means that an HTTP request for www.google.com, instantiated from the webserver, did not work. Your hosting provider might have outgoing connections disabled as a security precaution. Talk to them if you want to get this resolved.
Unfortunately, there's no work-around for this kind of issue, since the image needs to be loaded by the script on the server, in order to inspect and scale it.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Unfortunately, there's no work-around for this kind of issue, since the image needs to be loaded by the script on the server, in order to inspect and scale it.
Maurice Makaay
Phorum Development Team



October 22, 2010 02:13PM |
Registered: 14 years ago Posts: 24 |
October 22, 2010 02:23PM |
Admin Registered: 20 years ago Posts: 8,532 |
On a side-track, try talking to your hosting provider. They might have a policy where they close requests by default, but open up the firewall when a hosted website on the system needs it. It's worth the shot I'd say.
Thanks anyway for reporting that you get a red box now. I think that this was fixed by removing some PHP dl() calls in the core code (the details aren't interesting for you of course, but the PHP code might have crashed before this change.)
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Thanks anyway for reporting that you get a red box now. I think that this was fixed by removing some PHP dl() calls in the core code (the details aren't interesting for you of course, but the PHP code might have crashed before this change.)
Maurice Makaay
Phorum Development Team



Re: Module: Embed Images October 26, 2010 12:33PM |
Registered: 15 years ago Posts: 12 |
Re: Module: Embed Images October 26, 2010 01:12PM |
Admin Registered: 22 years ago Posts: 9,240 |
Re: Module: Embed Images January 06, 2011 09:34AM |
Registered: 14 years ago Posts: 1 |
hi install your module on my server but whan i try to activate it i get that massage in admin panel
This module is not enabled yet. You can change its settings but the module is only active if you enable it on the previous page.
Fatal error: Call to undefined function phorum_api_http_get_supported() in /home/xxx/xxx/forum/mods/embed_images/settings.php on line 271
This module is not enabled yet. You can change its settings but the module is only active if you enable it on the previous page.
Fatal error: Call to undefined function phorum_api_http_get_supported() in /home/xxx/xxx/forum/mods/embed_images/settings.php on line 271
January 06, 2011 12:41PM |
Admin Registered: 20 years ago Posts: 8,532 |
I've looked all over my admin panel, but I couldn't find the massage :-(
The reason that it doesn't work for you, might be because you overlooked the message at the very start of this thread:
Important: this module requires Phorum 5.2.16-RC2 or newer
What version of Phorum are you running? If it is any version before the version mentioned above, you cannot install this module.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
The reason that it doesn't work for you, might be because you overlooked the message at the very start of this thread:
Important: this module requires Phorum 5.2.16-RC2 or newer
What version of Phorum are you running? If it is any version before the version mentioned above, you cannot install this module.
Maurice Makaay
Phorum Development Team



Sorry, only registered users may post in this forum.