Joomla tips and tricks for the novice or the hacker. Serving Him by giving back what we have learned.
     
Home arrow Blogs arrow Websites & Templates arrow YooTheme arrow Images are cut off in YooGallery
Images are cut off in YooGallery
 

Views : 745    


If you have a YooGallery implemented and when viewing the images or photos are being cut off - here's a tip.

Here's an example of what an image looks like in YooGallery

Crane photo cut off in YooGallery












But the actual image looks like this.


Correct size but not showing in YooGallery
This is an easy fix - work around - twiddle...

I'm sure there is a code work around, but if you are like me, I just want it to work.

YooTheme's YooGallery sizes the image in the display area based on the first image in the directory.


So - to fix it do this...













There are two ways to fix the image display.


The first one is to ensure every photo has the exact same dimension.

But you may some oriented in landscape and some portrait.

The second way is to set the largest image first.

Reorder the images in the directory defined in YooGallery module.

Take the largest image and make it the first file listed in the directory.

The images are sorted in ASCII alphabetic order.

numbers first (0,1,...9)
then Captial letters (A, B, C, ... Z)
then lower case letters.  (a, b, c, ... z)

So, to force the largest image as the first, rename the image file to:

00000.jpg

Or

AAAAA.jpg  (zeros not the letter O)

Then be sure to delete the thumbnails and refresh the cached images.

This solution is not elegant, but it works...  ;)

Did this help?




   
Quote this article in website
Favoured
Print
Send to friend
Related articles
Save this to del.icio.us

Keywords : YooGallery YooTheme, YooGallery, YooTheme, images cut off, gracehost, narrowpathhosting, geeksforgrace, honoring the Lord


Users' Comments  RSS feed comment
 

Average user rating

   (0 vote)

 


Add your comment
Name
E-mail
Title  
Comment
 
Available characters: 600
   Notify me of follow-up comments
  Mathguard security question:
O44         2FG      
O A    D    4     3WO
YNU   94E   D83      
  E    S      2   NW7
AQL         YSP      
   
   

No comment posted



mXcomment 1.0.8 © 2007-2010 - visualclinic.fr
License Creative Commons - Some rights reserved

Your help is a blessing

Enter Amount:

Most Read Articles

Newsletter

Please subscribe to our newsletter.

We will NOT be sending you sales or buy now stuff.

The newsletter will only have technical info. to help you with your web efforts.

Geek Updates


Receive HTML?

Last comments

Jiggle Effect for Catalyst...
Great Post! Great Site
Thank you very much. This is...
More...
By mchlcnco

Jiggle Effect for Catalyst...
Help
I've been having lots os...
More...
By amanda_fig

I get an error when saving an...
Check sh404SEF
A weird anomaly occurs with...
More...
By Jeff Honeyager

PowerPoint Slide show in...
Easy power point in content
Hello! The easy way for to...
More...
By Samuel

Removing the ask about this...
Edit the language file.
You can change the text by...
More...
By Grace Geek

Geeks for Grace a Narrow Path Hosting Partner
Powered By PageCache
Generated in 0.16726 Seconds