Folder gallery issues

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
2/29/2008 5:08:23 PM
Gravatar
Total Posts 37

Folder gallery issues

Hi,

I've been using the new folder gallery whilst trialing and setting up a test site with no problems. However since I've added a new site and access it recommended in the forum i.e. main site setup is called mj.mojoporal and my second site is bc.mojoportal this control appears to have stopped working. The image placeholders are there but with the red 'x', they only display when you select an image and then click on that image for the full resolution display. Does anyone have any ideas?

Also this is a great control but it'd be great to be able to store text again the file for a description. Is this a possibility or a future option?

Thanks.

3/1/2008 11:42:10 AM
Gravatar
Total Posts 18439

Re: Folder gallery issues

Hi,

Thanks for letting me know. I've got it on my to do list to test the new gallery in the context of multiple sites and also test it on Mono, so I will look into this soon.

As for descriptions/captions etc I'm afraid this is a case whre there is a tradeoff. The other (older) image gallery included in mojoportal does allow captions and descriptions and its down side is that you must upload each picture one at a time. Its caption, description and file location is stored in the db.

The new image gallery has the convenience that you can upload a folder of images via ftp and just point it at the folder. However its downside is that is only deals with the images. There is no easy way to add caption or description and it has no database component associated with the images.

I'm sure adding that ability is not impossible but probably challenging and its not something I plan to put effort into any time soon mainly because I have a lot of other priorites calling for my effort.

So for the time being, if caption/descriptions are important I would recommend using the other older Image Gallery instead of the new one.

Long term I would rather implement integration with Flickr or other services of that ilk that provide a lot more features.

Hope it helps,

Joe

3/1/2008 1:32:31 PM
Gravatar
Total Posts 37

Re: Folder gallery issues

Hi,

Hear what you say about the issues about the images. I guess also as it's a wrapper for someone elses control it's also not worth it. As an idea off the top of my head as i've never used a http handler as c# is not my thing but if the name of the file is displayed on screen - couldn't that be looked up against say an xml file that has the filename and description in there and it's then the description that's shown?

I am only using the folder gallery for ease of display as i like how it displays but i wouldn't use ftp or let users use ftp as that means you'd have to give permissions smack bang into the middle of the website and I still think there could and are issues with the permissions having to make a site writeable is some areas - but hey! :-)

Update on my problem, I did solve it and I don't think it's directly to do with the multi-site although what happened happened when I made this change. What was missing was the http handler the ashx file and it's entry in the web.config file. I put it back and all was fine.

Do you think it's possible to put an amount of text on the rendered page of images per folder. The reason is as follows. Say you have multiple folders say of products or events which have pictures. It would be nice to describe the contents of that folder. e.g. a product folder called 'wooden bookshelves' where the text above them could say something like 'this set of oak bookshelves work well in libraries and schools, there build quality makes them......' etc. What do you think?

Cheers, Adam

p.s. donation sent, hope you received.

3/1/2008 2:03:24 PM
Gravatar
Total Posts 18439

Re: Folder gallery issues

Hi Adam,

Glad you got it working and yes I did receive your donation. Many Thanks for that! I sent a thank you reply when I received the confirmation.

Its no so much that its not worth it to modify this feature as it is I only have so much bandthwidth and must choose carefully what I put my efforts into both to further the project and to eek out a living or else I'll be back working in the corporate world before too long with less time for mojoPortal.

The feature as it is provided a lot of bang for the effort to integrate it. The code for this feature is relatively complex in spite of the fairly easy integration and the effort to bang ratio of improving it further will not be so good and there are much more important priorities calling for my effort. If someone else is interested in taking this feature further I'm all for it but I'm not personally interested in putting more effort into it any time soon other than fixing any bugs and making sure it works in multi site scenarios as well as under Mono.

Right now I'm focused on the WebStore feature.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.