-
1. Re: Image galery module dev
cnovara Nov 5, 2004 7:22 AM (in response to maitreya)I work with a lot of images too and I have some ideas about file upload in nukes.
First to preserve the CMS philosophy, images must be loaded into db, and managed/versionned by the HTML module ;
BUT uploading each image file by hand is not possible ;
So what about managing image file hierarchy on a standard filesystem, and then update nukes HTML file structure by uploading the whole directory, passing the directory root as a parameter to the new module.
The module could test a file modification (checksum ?), creating a new version, "unprod" deleted files, creating new ones etc ... to keep nukes repository consistant with the file structure.
Basically this module could be an extension of the existing HTML module but taking a directory as the upload parameter, thus keeping the advantages of the two worlds : DB et file system.
Any comments ? -
2. Re: Image galery module dev
julien1 Nov 5, 2004 8:03 AM (in response to maitreya)someone worked on importing a zip file in the database that contains a heirarchy of files
isnt it what you want ? -
3. Re: Image galery module dev
maitreya Nov 5, 2004 9:00 AM (in response to maitreya)In fact, i have created an external DB in the nukes data directory called IcarusDB , it will be used to store the references to the images.
Something like /imgs/architecture/metz/stjacques.jpg in the field Location of the Table that can have several more fields like description, etc
and i would like to display the image by using the url http://myhost/imgs/architecture/metz/stjacques.jpg
not http://myhost/imgs/architecture/metz/stjacques
that could have been configured in the html module
I have started to read the source to find how to directly display image but i have no idea for now ! -
4. Re: Image galery module dev
theute Nov 5, 2004 9:05 AM (in response to maitreya)You can put the
http://myhost/imgs/architecture/metz/stjacques.jpg
in the HTML module, there is nothing wrong with that. -
5. Re: Image galery module dev
maitreya Nov 7, 2004 9:32 AM (in response to maitreya)Maybe my question is not clear but i think it's a tedious way to
use the html module to upload the image. i will work on the Zip solution
or the direct ressources access. THX for your help :) -
6. Re: Image galery module dev
cnovara Nov 9, 2004 1:20 PM (in response to maitreya)I use another way to achieve this.
To serve big amount of downloads (static content), it's better to use Apache instead of Tomcat.
This way I manage a complete directory out of Nukes, with classic Apache Locations/Directories, that I synchronize with Nukes DB wich contains links (this could be automatic).
Anyway, Apache is always in front of Tomcat, because it's more versatile.
See enfanceetcroissance.com -
7. Re: Image galery module dev
maitreya Nov 18, 2004 9:26 AM (in response to maitreya)Thx for your help !
finally i've used the Zip way ( cooper ;) ) to upload the content beause i'm not using apache !
Bravo les petits francais LOL ! -
8. Re: Image galery module dev
lepe Dec 9, 2004 5:01 AM (in response to maitreya)"cnovara" wrote:
I use another way to achieve this.
To serve big amount of downloads (static content), it's better to use Apache instead of Tomcat.
This way I manage a complete directory out of Nukes, with classic Apache Locations/Directories, that I synchronize with Nukes DB wich contains links (this could be automatic).
Anyway, Apache is always in front of Tomcat, because it's more versatile.
See enfanceetcroissance.com
Could you please explain some more regarding how you done this!? What is the setup on Apache side and on JBoss/Tomcat/Nukes side?
So, the result of this is that when you in Nukes selects a link to some static stuff this is served by Apache and not Tomcat?
Thanks,
/L -
9. Re: Image galery module dev
javajenks Dec 18, 2004 6:42 PM (in response to maitreya)Is anyone porting the php gallery module, that runs under phpNuke ?
-
10. Re: Image galery module dev
theute Dec 19, 2004 7:37 AM (in response to maitreya)Some people were talking about it but AFAIK there is nothing done so far.
-
11. Re: Image galery module dev
thorntond Dec 24, 2004 9:11 PM (in response to maitreya)What you are doing for the image gallery module sounds similar to what I was looking into for the download module - uploading a file and unzipping to a directory and maintaining a link to the files. The uploading of files/zip to a directory could be a jar or something in common which could be added to the downloads module as well as the image gallery module.
Danny -
12. Re: Image galery module dev
vinkh Jan 13, 2005 4:49 AM (in response to maitreya)In fact i wanted to upload a Zip file and use some of the my links to point to the files in the zip. eg, if the zip has "a/b/1.html" i wanted to use this in my pages.
JULIEN said:someone worked on importing a zip file in the database that contains a heirarchy of files
isnt it what you want ?
and also the last comment from Danny. I tried to use the Html module, which allowed me to access the Zip file but not the contents directly as i mentioned above.
JULIEN, MAITREYA : Could you give some details on how you did this ? -
13. Re: Image galery module dev
cnovara Feb 24, 2005 11:05 AM (in response to maitreya)Hi lepe.
Managing static content can be achieved in two ways :
The Apacha way, if you use it in front of tomcat. That's pure http.conf hack, so this forum is not the right place to discuss it, contact me.
The tomcat way. You can create an additional static context in Tomcat, not linked with nukes (see my previous reply http://jboss.org/index.html?module=bb&op=viewtopic&t=57461)
The former is far more powerfull, the later far more simple.
see http://enfanceetcroissance.com
see http://gitesprovence.fr.to -
14. Re: Image galery module dev
ilangocal Mar 14, 2006 6:16 PM (in response to maitreya)hi Everbody
I have been trying out the Image gallery portlet on JBoss 2.2. It does not work well at all. I am not sure if I am doing things right.
I see that you gentlemen have all been working on the Image Portlet. Could you tell me what to do?
many thanks