Jump to content


Davyc

Member Since 27 Mar 2012
Offline Last Active Yesterday, 03:02 PM
-----

#2300346 Some Gallery 5 Feedback

Posted by Davyc on 24 August 2012 - 03:20 AM

Could you post what the necessary changes are please.


Here you go:

For the images in the front page carousel open ipgallery.css and look for:

.galleryCarousel .carousel_img
{
position: absolute;
width: 100%;
padding: 0px;
height: 500px;
box-shadow: 0px 5px 5px rgba(0,0,0,0.2);
background-color: #282828;
background-repeat: no-repeat;
background-position: center center;
overflow: hidden;
}

Change background-position to top center

For the gallery category image in the same css file find:

.gallery_category_image {
background-color: #494949;
background-repeat: no-repeat;
background-position: center center;
height: 250px;
box-shadow: 0px 0px 5px rgba(0,0,0,0.4) inset;
border-radius: 2px;
}

Change background-position to top center

Now open the template album_listing under the heading (Gallery) Hompage and find:

<a href='{parse url="app=gallery&amp;album={$data['album_id']}" base="public" template="viewalbum" seotitle="{$data['album_name_seo']}"}'><div class='gallery_album_image' style='background-size: cover; background-position: center center; background-repeat: no-repeat; background-image: url( {$data['coverUrl']} )'></div></a>

Change the line background-position to top center

Save all files and refresh and you're done.

Took me a while to find the template edit, but very easy to do - and very easy to change to whatever you want or revert if you change your mind.

Enjoy

:thumbsup:


#2300073 Some Gallery 5 Feedback

Posted by Davyc on 23 August 2012 - 10:50 AM

Many thanks for the tips - got it sorted with a couple of CSS edits and one template edit.  The vast majority of the photos on my site are head shots so this has worked out just fine.

Top notch - that's all I can say, along with many thanks.

:thumbsup:


#2300044 Some Gallery 5 Feedback

Posted by Davyc on 23 August 2012 - 09:34 AM

Just to say that Gallery 5 is stunning - I really appreciate all the effort that's gone into giving this a major facelift and my members love it.  So clear, so informative and everything is just tip-top - except!!  There's always one isn't there lol.

When the gallery shows photos in the listing is it possible to get the photo to display from the top down rather than centred?  See image below with the head chopped off:

headless.PNG

Apart from this really minor niggle it's spot on.

Many thanks.

:thumbsup: