I am using the MyAlbum-P module (version 2.83) and I would like to either remove or replace the image manager that you see when you go to upload or modify an image. Is there a way I can easily replace the image manager? Or if not is there a way I can easily enough remove that section from the MyAlbum uploading and modifying pages?
hi Luminosity.
Of course, myAlbum-P can be a substitute for ImageManager of XOOPS core.
Read the section of "HOW TO use imagemanager integration:" in INSTALL.
HIe, I went through the integration guide.
but it is still not working
The Integrated Image Manager input [siteimg] instead of [img].
You have to hack module.textsanitizer.php for each module to enable tag of [siteimg]
How do i hack those?
If you cannot understand it, use [img] instead of [siteimg].
Hi !
Sorry if ths question has been already posted...
I'am trying to replace Standard Image Manager (Xoops 2.0.16) by MyAlbum-P 2.88 albums... [img] by [siteimg].
It doesn't really work (as I want it work
) :
- thumbails don't appears but this link :
[s i t e i m g]uploads/thumbsmyalbum/99.jpg[/s i t e i m g](because of this in textarea : [s i t e u r l=uploads/photosmyalbum/99.jpg][s i t e i m g]uploads/thumbsmyalbum/99.jpg[/s i t e i m g][/s i t e u r l])
- if I just write [s i t e i m g]uploads/thumbsmyalbum/99.jpg[/s i t e i m g] in textarea, I've got no thumbails but...
[s i t e i m g]uploads/thumbsmyalbum/99.jpg[/s i t e i mg]
I try in a custum block, with all formats (html / smilies / ...) with no success
(. So I try also with tinyeditor module but [siteimg] tag does not appear (still [img]...
So, my question : is it possible to show thumbails (eventually with a link to the image, for me it isn't the most important point) ?
What I've missed in the hack ?
Thanks for your response (and many thanks for this module !!)
@+
Ps : sorry for my poor english
Woops ! I'm sorry for these two post. The solution has been posted two years ago :
>
http://www.xoops.org/modules/newbb/viewtopic.php?topic_id=17185&viewmode=flat&order=ASC&a...(thanks to marcan)
And the code to hack is still on line here :
>
http://www.xoopsitalia.org/modules/news/article.php?storyid=317It works fine with these instructions (INSTALL.txt) :
add a line into original imagemanager.php like this:
line 28:
---------------------------------------------------
include './mainfile.php';
include 'modules/myalbum/imagemanager.php'; // add this line
if (!isset($HTTP_GET_VARS['target']) && !isset($HTTP_POST_VARS['target'])) {
exit();
}
And maybe for the next release it will be useful to add marcan's modification
(class/module.textsanitizer.php around line 180)
@+
Hi !
A last question
: is someone has already make the [ siteimg ] tag with a wysiwyg editor. I've tried
- TinyEditor module : Xoops' Image manager is still there
- Kiovi class (http://dev.xoops.org/modules/xfmod/project/showfiles.php?group_id=1038) : MyAlbum categories are present but submit buttons don't work ..
Thanks for your help
@+
I just know common/spaw can recognize images of myAlbum-P as imagemanager.