Firefox PHP

Module: Embed Images

Posted by Maurice Makaay 
Re: Module: Embed Images
August 06, 2008 02:16AM
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
Re: Module: Embed Images
August 06, 2008 02:21AM
Never mind thanks I fixed the problem. I accidentally installed the mod incorrectly. Thank you!
Re: Module: Embed Images
August 06, 2008 03:53AM
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
Re: Module: Embed Images
August 06, 2008 10:00PM
Yes, it's working fine both ways. Thank you very much!

SecretNinjaMan.com Forum
Re: Module: Embed Images
August 07, 2008 01:31AM
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
Re: Module: Embed Images
August 08, 2008 12:07AM
Re: Module: Embed Images
August 30, 2008 09:52AM
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]
Re: Module: Embed Images
August 30, 2008 01:23PM
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 10:22PM by Maurice Makaay.
Re: Module: Embed Images
August 30, 2008 02:06PM
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
Re: Module: Embed Images
August 31, 2008 06:31PM
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:
<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.

Click here to login