how to use photogallery plugin?
hey all; I want to use photo gallery plugin but i am not able to do it. I look at mail archive and couldn't find something which is helpful. I check "http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.PhotoGallery/index.html "also... I created my directories and I have album.xml in it. but i dont know what i should do now? I will appreciate if somebody will explain the steps of using this plugin... have a nice day!
Re: how to use photogallery plugin?
On Thu, Jul 10, 2008 at 7:02 AM, gulfiz ergin <[EMAIL PROTECTED]> wrote: > hey all; > I want to use photo gallery plugin but i am not able to do it. I look at > mail archive and couldn't find something which is helpful. I check > "http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.PhotoGallery/index.html > "also... > I created my directories and I have album.xml in it. but i dont know what > i should do now? I will appreciate if somebody will explain the steps of > using this plugin... > have a nice day! If you've followed the docs and put your images in {properties:content.xdocs}/images/gallery/ then you should be able to navigate to /gallery/index.html and see them. Maybe you could explain exactly how far you are getting and report any errors you've encountered? --tim
Re: how to use photogallery plugin?
Re: how to use photogallery plugin?
On Thu, Jul 10, 2008 at 7:28 AM, gulfiz ergin <[EMAIL PROTECTED]> wrote: > <{properties:content.xdocs}/images/gallery/ then you should be able to ><--tim > I am so sorry about my dumb questions.Should I create this index.html or > plugin will do it for me? > I created it by myself and actually i don't know which codes I should write > in it?Is there any example > .xml file (for gallery) that I can see what should I have and then I can > change it for my site? It's generated - just point your browser at it. --tim
Re: how to use photogallery plugin?
but still any photo appears on the site, what is more my album's name disappears! how this code should be?any help?
Re: how to use photogallery plugin?
On Thu, Jul 10, 2008 at 9:56 AM, gulfiz ergin <[EMAIL PROTECTED]> wrote: > <--tim > Tim as you said it is generated! now I have two different photo galleries > that have its own album.xml file and photos. But I couldn't see my photos. > I wrote the code in album.xml like this : > > > > but still any photo appears on the site, what is more my > album's name disappears! > how this code should be?any help? Please go back to the plugin page[1] and carefully follow all the instructions. The album.xml file should look like this[2]. --tim [1] - http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.PhotoGallery/index.html [2] - http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.PhotoGallery/src/documentation/content/xdocs/images/gallery/demo/album.xml?revision=410189&content-type=text%2Fplain
Re: how to use photogallery plugin?
Hi again... There is something strange in my site..(may be this issue is discussed before I did not search for it.)Any kind of photo I put to my site (logo etc.) does not appear on Mozilla Firefox but in internet explorer!I don't know what is wrong here... On the other hand,I can say that photo gallery is working but I can see the images when I click on "view the largest picture".It is written in the document that "The thumbnail and small sized images will be automatically generated" but in my site I couldn't see the thumbnails and small sized images. thanks for your responses! have a nice day...
Re: how to use photogallery plugin?
On Mon, Jul 14, 2008 at 3:32 AM, gulfiz ergin <[EMAIL PROTECTED]> wrote: > Hi again... > There is something strange in my site..(may be this issue is discussed > before > I did not search for it.)Any kind of photo I put to my site (logo etc.) does > not > appear on Mozilla Firefox but in internet explorer!I don't know what is > wrong here... > > On the other hand,I can say that photo gallery is working but I can see the > images > when I click on "view the largest picture".It is written in the document > that > "The thumbnail and small sized images will be automatically generated" but > in my site > I couldn't see the thumbnails and small sized images. > thanks for your responses! have a nice day... Are you using *nix platform? If so, you might have to open up write permissions on those directories. Can you look into your logs and see if there's any useful information? --tim
Re: how to use photogallery plugin?
>Are you using *nix platform? If so, you might have to open up write >permissions on those directories. Can you look into your logs and see >if there's any useful information? >--tim I am using windows xp. I checked error.log and I have "Internal Cocoon Problem" I pasted whole error here: "ERROR (2008-07-14) 23:29.36:593 [access] (/gallery/ge/b.thumb.jpg) PoolThread-3/CocoonServlet: Internal Cocoon Problem org.apache.cocoon.ProcessingException: Error creating persistent file for transformed version of file:/C:/Documents and Settings/gulfizer/Desktop/son/src/documentation/content/xdocs/images/gallery/ge/b.thumb.jpg at - file:/C:/Documents%20and%20Settings/gulfizer/Desktop/apache-forrest-0.8/apache-forrest-0.8/build/plugins/org.apache.forrest.plugin.input.PhotoGallery/resources.xmap:49:74 at - file:/C:/Documents%20and%20Settings/gulfizer/Desktop/son/build/tmp/resources.xmap:33:158 at - file:/C:/Documents%20and%20Settings/gulfizer/Desktop/apache-forrest-0.8/apache-forrest-0.8/main/webapp/sitemap.xmap:590:44 at org.apache.forrest.reading.PersistentImageReader.processStream(PersistentImageReader.java:341) at org.apache.cocoon.reading.ResourceReader.generate(ResourceReader.java:332) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processReader(AbstractCachingProcessingPipeline.java:766) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:429) at org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke(ReadNode.java:96) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:116) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:292) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:223) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:289) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:114) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77) at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:81) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:292) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:223) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:289) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:114) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77) at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:81) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:292) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:223) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:289) at org.apache.cocoon.Cocoon.process(Cocoon.java:557) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:364) at javax.se
Re: how to use photogallery plugin?
On Mon, Jul 14, 2008 at 5:42 AM, gulfiz ergin <[EMAIL PROTECTED]> wrote: >>Are you using *nix platform? If so, you might have to open up write >>permissions on those directories. Can you look into your logs and see >>if there's any useful information? > >>--tim > > I am using windows xp. I checked error.log and I have "Internal Cocoon > Problem" > I pasted whole error here: > > "ERROR (2008-07-14) 23:29.36:593 [access] (/gallery/ge/b.thumb.jpg) > PoolThread-3/CocoonServlet: Internal Cocoon Problem > org.apache.cocoon.ProcessingException: Error creating persistent file for > transformed version of file:/C:/Documents and > Settings/gulfizer/Desktop/son/src/documentation/content/xdocs/images/gallery/ge/b.thumb.jpg > at - ... snipped stack trace... > Well, I confused more than ever...:S Can you copy your site to a simple path (e.g. C:\temp) and try to build from there? I'm wondering if the spaces in the directory path aren't the issue. --tim
Re: how to use photogallery plugin?
>Can you copy your site to a simple path (e.g. C:\temp) and try to >build from there? I'm wondering if the spaces in the directory path >aren't the issue. >--tim as you said I change the path...both nothing has changed...when I check error.log,it is empty..
Re: how to use photogallery plugin?
On Mon, Jul 14, 2008 at 11:06 AM, gulfiz ergin <[EMAIL PROTECTED]> wrote: > >>Can you copy your site to a simple path (e.g. C:\temp) and try to >>build from there? I'm wondering if the spaces in the directory path >>aren't the issue. >>--tim > as you said I change the path...both nothing has changed...when I check > error.log,it is empty.. Can you run the Photogallery sample site? Does it work properly? --tim
Re: how to use photogallery plugin?
>Can you run the Photogallery sample site? Does it work properly? >--tim yeah, it is working properly no problem with it..
Re: how to use photogallery plugin?
gulfiz ergin wrote: > Tim Williams wrote: > > > > Can you run the Photogallery sample site? Does it work properly? > > yeah, it is working properly no problem with it.. Lets be sure. Can you see the beach picture? at http://localhost:/gallery/demo/pic_1.html gulfiz ergin wrote: > Tim Williams wrote: > > > > Can you copy your site to a simple path (e.g. C:\temp) and try to > > >build from there? I'm wondering if the spaces in the directory path >aren't the issue. > > as you said I change the path...both nothing has changed...when I check > > error.log,it is empty So something has changed. That means that the error that you reported earlier is gone, which indicates that the use of spaces in the directory name might be causing problems. However, it seems that you have something else wrong with your use of the PhotoGallery plugin. I think that you need to take a step back and explain exactly where you have placed your images and what is in your album.xml file for one of the galleries. I suggest that you create an issue [1] and attach your index.xml file, and an album.xml file, and a listing of your xdocs/images/gallery/*/ directory. [1] http://forrest.apache.org/issues.html The PhotoGallery works fine for me. What version of Forrest are you using? Also, have a look at these issues and see if any apply to you: https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&pid=1231&sorter/order=DESC&sorter/field=priority&resolution=-1&component=12310045 -David