Image Gallery Thumbnail Bevel

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.
1/19/2011 1:19:22 PM
Gravatar
Total Posts 15

Image Gallery Thumbnail Bevel

I'm not sure which version of mojoPortal this update happened, but on the current version, uploading images in the image gallery creates thumbnails with a bevel on the left and top edges. This did not happen before. It's not a css thing either, the thumbnail images that the uploader creates has this bevel effect.

I've looked through the code a bit to see if I can find a configuration setting to stop the uploader (or image processor) from creating this beveled effect, but couldn't find anything.

Anyone have any ideas as to how to go about making this configurable?

James

1/19/2011 2:06:55 PM
Gravatar
Total Posts 18439

Re: Image Gallery Thumbnail Bevel

Hi,

Nothing has changed in quite a while in the image processing for the Gallery. I'm not aware of any way to add a bevel around thumbnails, probably you are talking about the background color that is used when resizing images which does create a little border that may or may not go well with the color scheme of your site. Some background color has to be used when re-sizing and we default to white, but it comes from a config setting so you can add this to your user.config, but it must be a named color with a standard named color it cannot be a hex value or any other kind of color designator.

For example you could change it to use Black like this:

<add key="DefaultResizeBackgroundColor" value="Black" />

but of course it will only affect images uploaded after the setting is changed.

Hope it helps,

Joe

1/19/2011 3:11:15 PM
Gravatar
Total Posts 15

Re: Image Gallery Thumbnail Bevel

Thanks Joe,

Yes, I believe it is the background color that is creating the border (only on the top and left sides of the image). Any chance of making this configurable by feature instance in an upcoming release? I'm running multiple sites on my instance of mojoPortal and if I have a black background on one of the sites image gallery and white on another, one of them is not going to look right.

James

1/20/2011 9:14:43 AM
Gravatar
Total Posts 18439

Re: Image Gallery Thumbnail Bevel

Hi James,

I just implemented it as an instance setting in my copy so it will be in the coming new release.

Best,

Joe

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