Module: Embed Images
Posted by Maurice Makaay
Re: Module: Embed Images July 06, 2008 12:18PM |
Registered: 17 years ago Posts: 8 |
Maurice, I want to run this module without AJAX or any other kind of javascript. But this AJAX code is triggers generation of thumbnails. So, running it without javascript is not possible. Could you give any suggestion how to go around it?
Primary reason for this, is that I want img tags appear with width and height attributes from start and not created by javascript, else page markup is "jumping".
Also, this module doesn't respect "Put file name in pathinfo for file download URLs" setting. It should pass 'filename=...' param when doing $url=phorum_get_url(PHORUM_FILE_URL,...).
Edited 1 time(s). Last edit at 07/06/2008 12:49PM by Alexey Torkhov.
Primary reason for this, is that I want img tags appear with width and height attributes from start and not created by javascript, else page markup is "jumping".
Also, this module doesn't respect "Put file name in pathinfo for file download URLs" setting. It should pass 'filename=...' param when doing $url=phorum_get_url(PHORUM_FILE_URL,...).
Edited 1 time(s). Last edit at 07/06/2008 12:49PM by Alexey Torkhov.
July 06, 2008 12:56PM |
Admin Registered: 20 years ago Posts: 8,532 |
Quote
Alexey Torkhov
Maurice, I want to run this module without AJAX or any other kind of javascript. But this AJAX code is triggers generation of thumbnails. So, running it without javascript is not possible. Could you give any suggestion how to go around it?
Primary reason for this, is that I want img tags appear with width and height attributes from start and not created by javascript, else page markup is "jumping".
The Ajax handling is part of the design and I cannot help you with stripping that code.
The thumbnail template can use the variables {VIEWER->W} and {VIEWER->H} as the width and height of the thumbnail. Are you using those already in your template?
Maurice Makaay
Phorum Development Team



Re: Module: Embed Images July 06, 2008 01:40PM |
Registered: 17 years ago Posts: 8 |
Re: Module: Embed Images July 18, 2008 02:54PM |
Registered: 20 years ago Posts: 50 |
@maurice: as arranged here is the latest slimbox v1.63, which works with mootools v1.2
Official SlimBox site (currently broken)h
Edited 1 time(s). Last edit at 07/31/2008 06:37PM by Maurice Makaay.
Official SlimBox site (currently broken)h
Edited 1 time(s). Last edit at 07/31/2008 06:37PM by Maurice Makaay.
July 31, 2008 06:38PM |
Admin Registered: 20 years ago Posts: 8,532 |
I implemented slimbox 1.64 + mootools 1.2 in version 1.0.8 of the module.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: Module: Embed Images August 01, 2008 07:14AM |
Registered: 20 years ago Posts: 50 |
August 04, 2008 09:13PM |
Registered: 16 years ago Posts: 95 |
hi im new to Phorum and I have a comic website SecretNinjaMan.com and i really need this feature cuz its wat i use to size my comics after they've been scanned but Im a newbie and i dont know how or where to install i already had to start over twice cuz i accidentally installed in the wrong place plz help
August 05, 2008 02:22AM |
Admin Registered: 20 years ago Posts: 8,532 |
First of all, I want to ask you to use proper language on this forum. I find the lack of punctuation and capitals, combined with the overflow of "cuz", "im", "plz" words quite disturbing. It does not encourage me to be helpful to be honest.
What is your problem with installing the mod? What did you do exactly? Installing modules is really simple. After installing Phorum, you download the module. You unpack it. You then get a directory named "embed_images". Upload that directory so it ends up in your Phorum directory under mods/embed_images. Go to the admin interface. Open the modules page. Enabled the module.
But hey, that is about what you could have found in the module's readme file as well. So to get some real help, please explain what you do, what you see and what goes wrong for you if you follow these instructions.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
What is your problem with installing the mod? What did you do exactly? Installing modules is really simple. After installing Phorum, you download the module. You unpack it. You then get a directory named "embed_images". Upload that directory so it ends up in your Phorum directory under mods/embed_images. Go to the admin interface. Open the modules page. Enabled the module.
But hey, that is about what you could have found in the module's readme file as well. So to get some real help, please explain what you do, what you see and what goes wrong for you if you follow these instructions.
Maurice Makaay
Phorum Development Team



August 05, 2008 01:14PM |
Registered: 16 years ago Posts: 95 |
Ok I'm sorry about the use of improper grammar. Basically what the problem is that I don't know where or how to install modules. When I installed it the page showed up as it did (I have a comic website, you see and I want to post the comics in the forum) but the problem was that the format was totally messed up. You know how Phorum has all the Emerald style sheets and stuff? Well, all of that was gone. All there was on the forum list and all the forums was just the titles of the posts, etc. and the format was totally wrong and everything was in the wrong place. So now I deleted the database and everything and now what I retried making the forum but I STILL don't know how to fix my problem and I don't want to mess up the database and everything again so please help. Thanks in advance!
August 05, 2008 02:39PM |
Registered: 16 years ago Posts: 95 |
This might be too much to add, but could you add a feature where instead of just showing a link, which could be accomplished by a regular hyperlink, that the feature would minimize the image to your selected pixels, and when you click on it go to the link with the "full screen" image. This will better suit my needs because I want my page to have basically a "preview" of the image to go along with each post.
Thanks!
Thanks!
Sorry, only registered users may post in this forum.