Problems with image gallery

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/22/2009 8:15:36 AM
Gravatar
Total Posts 118

Problems with image gallery

Hi Joe - there are a couple of problems with the immage gallery

1. When you upload a file using the image gallery - it has a missing image. http://demo.mojoportal.com/ImageGallery/EditImage.aspx?mid=2765&pageid=1465

2. If you upload a portrait image - it ignores the vertical thumbnail size as you can see here http://demo.mojoportal.com/neil-test.aspx

Neil

 

 

2/22/2009 8:54:51 AM
Gravatar
Total Posts 18439

Re: Problems with image gallery

Hi Neil,

1. an easy fix. I've fixed it here so it will be fixed in the next release.

2. Not sure of a perfect solution. You can't really force all thumbnails to be the same size and also preserve the aspect ratio of the image, you have to do one or the other. Once upon a time we were forcing the thumbnails to be sized exactly according to the module settings but users reported that as a bug for not preserving the aspect ratio. I might be able to tune it a little to make it a little more balanced for portraits vs landscape, I'll see what I can do.

Best,

Joe

2/22/2009 8:57:18 AM
Gravatar
Total Posts 118

Re: Problems with image gallery

What I would expect it to do is take the values for thumbnails as maximum values, whilst keeping the aspect ratio.

2/22/2009 8:59:50 AM
Gravatar
Total Posts 18439

Re: Problems with image gallery

 I just fixed it to do that.

Best,

Joe

2/7/2010 9:46:17 AM
Gravatar
Total Posts 30

Re: Problems with image gallery

Hey Joe,

thanks for MojoPortal. Great Stuff!

I encountered the same problem: Portrait-sized photos are sized so that they are way higher than the 550 pixels specified by default. Am I doing something wrong? I was under the impression that (keeping default settings) images should be resized to a maximum width of 550px and a maximum height of 550px...

Also while playing around I noticed these things:

  • Images are kept in the filesystem after deleting the image widget
  • Upload speed is somehow limited to 300 KB/s. This is on a LAN to the server, the server's and client's CPU's are idling and hard disks doing almost nothing...
  • It'd be great if "Thumbnails per page" worked also in non-compact mode
  • After changing the settings, can I force the image gallery to re-create the thumbnails after changing some parameters?
  • http://www.mojoportal.com/gallerymodule.aspx has a spelling mistake, first sentence: "too quickly" instead of "to quickly"

Simon

2/7/2010 12:50:02 PM
Gravatar
Total Posts 30

Re: Problems with image gallery

Btw: I'm stupid. Here's more info:

 

•What operating system?

Server 2008 R2, IIS 7.5


•What database platform?

MS SQL 2008


•What version of mojoPortal?

2.3.3.6 MSSQL

2/11/2010 7:45:51 AM
Gravatar
Total Posts 30

Re: Problems with image gallery

Am I the only one having issues with portrait images?

 

Did I do something wrong when reporting the bug?

2/11/2010 8:53:41 AM
Gravatar
Total Posts 18439

Re: Problems with image gallery

Hi Simon,

Regarding the upload speed see this part of Web.config:

<neatUpload xmlns="http://www.brettle.com/neatupload/config/2008"
    useHttpModule="true"
    maxNormalRequestLength="4096"
    maxRequestLength="2097151"
    multiRequestUploadHandlerUrl="~/NeatUpload/MultiRequestUploadHandler.ashx"
   maxUploadRate="300"
  >
  </neatUpload>

Regarding image sizes it is determined in the feature instance settings for the gallery, maybe you are thinking it is using settings from some other place. Click the Settings link next to the title of the Gallery.

If you still think there is an error try it on demo.mojoportal.com and show me the problem.

Hope it helps,

Joe

2/11/2010 7:32:06 PM
Gravatar
Total Posts 30

Re: Problems with image gallery

Thanks for the tip regarding upload speed. Mistery solved!

I recreated the issue here: http://demo.mojoportal.com/gallery-problem-illustration.aspx. The gallery settings say that WebImage width and height should be 550. Yet the three portrait images are way taller than 550 pixels. Only the last image (landscape-orientation with bacon) is correctly resized to a width of 550 pixels.

Does that help?

Good night,
Simon

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