zpGalleriffic without crop?
-
Hi, I really enjoy this zpGallerific theme.
I've figured out how to make the galleriffic mini-gal on the home page arbitrarily taller, and I have "Galleriffic Crop Image" unchecked, but it is not downscaling the images to fit the box. Should it?
For example, I have several square images, so I set the 'Home page galleriffic height" setting to match the default width of 415. This works great for my square images, but on my tall images the image looks awkwardly cropped. The image doesn't fill the width and is taller than the box, so the top and bottom get cut off.
Is this possible to set somewhere?
Thanks.
-
Do you have a link so I can take a look? How would you want it to work? How could a portrait image fill the width of a box without being cropped?
-
So here is the front page of zenphoto. My dns isn't pointed directly to it yet:
http://sonofwitz.com/zenphoto/
The third item that comes up in the thumbnails for the galleriffic is portrait "SC3 live at the Great American Music Hall".
All I want to see is it downscaled so it fits without any cropping. If I had my druthers, any area that has no image on the sides would be the same color as the background. I used to use transparent flash layers for this type thing. The portfolio is about design work, and it just won't do to have the designs awkwardly and arbitrarily cropped.
I appreciate any help. thanks. -
try this. on line 64 of gallery.php find:
<?php echo html_encode($image->getCustomImage(null,412,$minigalimageheight,412,$minigalimageheight,null,null,true)); ?>
and replace with:<?php echo html_encode($image->getCustomImage($minigalimageheight,null,null,null,null,null,null,true)); ?>
$minigalimageheight is set in the theme options. Let me know if that works for ya - -
Hi thanks.
The code change allowed the portrait items to load beautifully, exactly as I wanted. However, now anything square or landscape does not show up in the slideshow. The space is empty, but I can click to get the image to load in the next view. (btw: on this template, what do you call that page? It's not Image Details, it's like a slideshow page that comes up before Image Details. It's super slick but I don't know what file runs it)
I tried to use $minigalimageheight ( and $minigalimagewidth) as the second argument provided to getCustomImage but nothing changed. I'm guessing there isn't actually a $mingalimagewidth variable or it would have worked, right? I'm not so fluent with php. -
I don't know what file runs it
album.phpI tried to use $minigalimageheight ( and $minigalimagewidth) as the second argument provided to getCustomImage but nothing changed.
Don't do that, it is incorrectHowever, now anything square or landscape does not show up in the slideshow.
Try reducing the size, say, from 415 to 380 or something in the theme option. I think 415 is to wide for the landscape pics, so they are being shoved down (invisible).
Edit: I think 412 or less should work... -
Hey. That works. Thank you.
Now the portrait images align left in the container. Is that adjustable? -
412 works.