Author Topic: Getting decent Image Gallery thumbnails  (Read 3352 times)

0 Members and 1 Guest are viewing this topic.

Offline capeinfo

Getting decent Image Gallery thumbnails
« on: 24. June 2009, 16:19:18 »
Hi

I'm really struggling with the Image Gallery thumbnails.  They are too awful!  (See http://capeinfo.com/dev1/directory?sobi2Task=sobi2Details&catid=4&sobi2Id=15)

All the other applications I've used resize thumbnails to a uniform format using GD Library which is loaded on most servers.

There's more information on how this is done at http://911-need-code-help.blogspot.com/2008/10/resize-images-using-phpgd-library.html, but implementing something like that is beyond my skills.

Can anyone help?  This would be a really useful enhancement to the Image Gallery.

Thanks
http://capeinfo.com
Gateway to Southern Africa
Country: South Africa South Africa |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile CapeInfo

Offline Robert_Vining

  • SOBI Team
  • Moderator
  • Sobi Hero
  • *
  • Posts: 1406
  • SobiPro is a free download!
  • Reviews:

    What is it?

    • Sobi Team Member
Re: Getting decent Image Gallery thumbnails
« Reply #1 on: 25. June 2009, 06:04:37 »
The image gallery currently uses the GD library to resize thumbnails.

There is a setting in the sobi2 configuration menu under Registry Editor to set the quality of images.

jpeg_image_quality

I use 80 which is 80% and it looks pretty good. Give it a try.
Robert Vining
SobiPro Documentation and Support Team
NOW OPEN!>> | www.sobitemplates.com | Professional Sobi2 and SobiPro Templates
www.robertswebdesign.com - Joomla, Sobi2 and SobiPro Specialist
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Sobi Templates

Offline capeinfo

Re: Getting decent Image Gallery thumbnails
« Reply #2 on: 25. June 2009, 07:52:32 »
Thanks for that, but it's not the image quality I have a problem with, it's the format - when you have vertical and landscape formats.  (The link above illustrates that.)

If the Gallery uses GD Library, surely it should be relatively easy to get a uniform format such as cropped to a square?
http://capeinfo.com
Gateway to Southern Africa
Country: South Africa South Africa |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile CapeInfo

Offline Robert_Vining

  • SOBI Team
  • Moderator
  • Sobi Hero
  • *
  • Posts: 1406
  • SobiPro is a free download!
  • Reviews:

    What is it?

    • Sobi Team Member
Re: Getting decent Image Gallery thumbnails
« Reply #3 on: 25. June 2009, 16:39:48 »
next.
Robert Vining
SobiPro Documentation and Support Team
NOW OPEN!>> | www.sobitemplates.com | Professional Sobi2 and SobiPro Templates
www.robertswebdesign.com - Joomla, Sobi2 and SobiPro Specialist
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Sobi Templates

Offline capeinfo

Re: Getting decent Image Gallery thumbnails
« Reply #4 on: 25. June 2009, 16:45:40 »
huh?
http://capeinfo.com
Gateway to Southern Africa
Country: South Africa South Africa |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile CapeInfo

Offline Robert_Vining

  • SOBI Team
  • Moderator
  • Sobi Hero
  • *
  • Posts: 1406
  • SobiPro is a free download!
  • Reviews:

    What is it?

    • Sobi Team Member
Re: Getting decent Image Gallery thumbnails
« Reply #5 on: 25. June 2009, 17:04:13 »
what you linked to does not show the code on how to crop the image to a square... sorry.

I typed 'next' because I meant I was moving on to the next person who was having an issue I can help them with.

This is a feature that you might want to look into having someone create for you, or create it yourself. It's not a widely asked for feature, and not one I personally would use myself.

Looking at your site though, you have plenty of things to fix other than complaining about how awful our gallery plugin is!
Robert Vining
SobiPro Documentation and Support Team
NOW OPEN!>> | www.sobitemplates.com | Professional Sobi2 and SobiPro Templates
www.robertswebdesign.com - Joomla, Sobi2 and SobiPro Specialist
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Sobi Templates

Offline irish melkite

Re: Getting decent Image Gallery thumbnails
« Reply #6 on: 26. June 2009, 06:44:14 »
capeinfo,

I would offer one suggestion - you may be able to add CSS styles of identical width and height to the fields in question -
e.g. 

width: 300px;
height: 300px;

which will square the images.

The problem that I don't think you can overcome is to have it automatically crop (if that's the term you really intended to use) because the program is not going to understand what should be cropped - it's merely going to resize, with the result that you will get images that are obviously elongated and others that are obviously scrunched. Overcoming that requires manually cropping with a critical eye.

Neil
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Eastern & Oriental Catholic Directory

Offline QMedia

Re: Getting decent Image Gallery thumbnails
« Reply #7 on: 18. August 2010, 11:25:03 »
I'd think this feature would be a nice plus. Merely resizing the images isn't a very good way to go about it. Cropping the image though as for example JomSocial and many other components do is a much neater way and makes the images look great imo :)

Country: Norway Norway |  OS: Windows Vista/Server 2008 Windows Vista/Server 2008 |  Browser: Firefox 3.6.8 Firefox 3.6.8 | View Profile

Offline Robert_Vining

  • SOBI Team
  • Moderator
  • Sobi Hero
  • *
  • Posts: 1406
  • SobiPro is a free download!
  • Reviews:

    What is it?

    • Sobi Team Member
Re: Getting decent Image Gallery thumbnails
« Reply #8 on: 18. August 2010, 18:01:20 »
I'd think this feature would be a nice plus. Merely resizing the images isn't a very good way to go about it. Cropping the image though as for example JomSocial and many other components do is a much neater way and makes the images look great imo :)

True, and if we were selling Sobi2 for $150 per domain like JomSocial, I'm sure a more robust image gallery could be implemented much more quickly. But since the Gallery Plugin is free, I think it does a great job for what it was intended to do, and it's not a feature that is being requested very often, as evidenced by the fact that 14 months has passed since the last comment on this post.

But thanks for the suggestion. :)
Robert Vining
SobiPro Documentation and Support Team
NOW OPEN!>> | www.sobitemplates.com | Professional Sobi2 and SobiPro Templates
www.robertswebdesign.com - Joomla, Sobi2 and SobiPro Specialist
Country: United States United States |  OS: Windows XP Windows XP |  Browser: Firefox 3.6.8 Firefox 3.6.8 | View Profile Sobi Templates

Offline QMedia

Re: Getting decent Image Gallery thumbnails
« Reply #9 on: 18. August 2010, 22:57:26 »
A quick search through the forum shows that there are several threads regarding this ;)  But I won't hassle...was just a suggestion in case someone felt up for the challenge:)

For the gallery plugin itself there apparantly exist a hackfix for anyone else wanting this: http://www.sigsiu.net/forum/index.php/topic,17949.0/highlight,gallery+hack.html
Country: Norway Norway |  OS: Windows Vista/Server 2008 Windows Vista/Server 2008 |  Browser: Firefox 3.6.8 Firefox 3.6.8 | View Profile

Tags: