Module: Embed Images
Posted by Maurice Makaay
August 05, 2008 08:16PM |
Admin Registered: 20 years ago Posts: 8,532 |
I don't see what you want here I'm afraid. The embed images module is used to create a scaled down version of the image. By clicking it, you can open the full image in a viewer. I'm missing the bit where this is not what you are requesting here.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



August 05, 2008 08:21PM |
Registered: 16 years ago Posts: 95 |
August 05, 2008 09:53PM |
Registered: 18 years ago Posts: 1,301 |
I see that you have Phorum embedded within your own site. It may be that this is causing a problem for the mod as the overall body of the page may be set in your site's framework. Does it work if the forum is viewed outside of your site's framework?
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
August 06, 2008 04:00PM |
Registered: 16 years ago Posts: 95 |
August 06, 2008 07:31PM |
Registered: 18 years ago Posts: 1,301 |
Oops, that was supposed to be my next question for the Easy Color Scheme Manager mod problem. I'll repost there ;-P
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
August 07, 2008 06:07PM |
Registered: 16 years ago Posts: 95 |
August 30, 2008 03:52AM |
Registered: 19 years ago Posts: 131 |
Hello,
First, here is the french.php file.
I also have a question:
If an image is smaller than the maximum width and height specified in the settings of the module, will it be copied in the local cache then served by my server, or will it be fetched from the distant server? Asked another way: will this increase my bandwith?
If so, could it be possible, for the images which are smaller than the maximum width and height specified in the settings of the module, to do nothing? Maybe via an option in the settings?
Thanks
Cactus : [www.cactuspro.com]
First, here is the french.php file.
I also have a question:
If an image is smaller than the maximum width and height specified in the settings of the module, will it be copied in the local cache then served by my server, or will it be fetched from the distant server? Asked another way: will this increase my bandwith?
If so, could it be possible, for the images which are smaller than the maximum width and height specified in the settings of the module, to do nothing? Maybe via an option in the settings?
Thanks
Cactus : [www.cactuspro.com]
August 30, 2008 07:23AM |
Registered: 19 years ago Posts: 131 |
Quote
cactux
First, here is the french.php file
Here is a new french.php file.
The previous one contained a quote, which may have been the cause of problems.
This new one simply has "Loading image" translated in "Chargement image" instead of "Chargement de l'image".
Edit maurice: I removed the attachment from this message, because the French translation is now available in the module package. I also fixed the bug that caused troubles because of the ' character and went for "Chargement de l'image" in the translation file.
Cactus : [www.cactuspro.com]
Edited 1 time(s). Last edit at 10/16/2010 04:22PM by Maurice Makaay.
August 30, 2008 08:06AM |
Admin Registered: 20 years ago Posts: 8,532 |
All images are stored in the cache and there is currently no setting to disable that. So yes, this might increase your bandwidth. On the other hand, it will also assure the speed of your pages, since the users can retrieve the cached version instead of the remote one. If images load slowly, they will blame you, not the remote server. That is my reason for doing the caching.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: Module: Embed Images August 31, 2008 12:31PM |
Registered: 17 years ago Posts: 38 |
Hello Maurice,
I could be wrong but i think there can be a problem with both embed_images and the html module enabled.
I was testing this combo, and decided to try and feed phorum some nasty xss code to see if anything will crop up :)
Worse thing was this line:
On clicking preview, the script takes all CPU power until max-execution time is reached.
I think the pregs in the html mod can't handle \0, but it is something in combination with embed_images, turning off the module or simply disabling the "Show HTML <img> tags as embedded images?" option "solves" this.
Chris
I could be wrong but i think there can be a problem with both embed_images and the html module enabled.
I was testing this combo, and decided to try and feed phorum some nasty xss code to see if anything will crop up :)
Worse thing was this line:
<IMG SRC=java\0script:alert(\"XSS\")>
On clicking preview, the script takes all CPU power until max-execution time is reached.
I think the pregs in the html mod can't handle \0, but it is something in combination with embed_images, turning off the module or simply disabling the "Show HTML <img> tags as embedded images?" option "solves" this.
Chris
Sorry, only registered users may post in this forum.