Forum Replies Created
-
AuthorPosts
-
August 12, 2013 at 4:38 pm in reply to: .trigger('avia_start_animation') fix no longer working in 1.9.1 #133763
fwiw the gallery pics were all optimised before.. and for 24bit transparent .png – it was a requirement !
shrinking all the files again hasnt resulted in much saving.. but its a big gallery..
and the anim still needs scrolling to the end of it to start !
Have moaned at dh to see why the slowdown…
August 12, 2013 at 3:25 pm in reply to: .trigger('avia_start_animation') fix no longer working in 1.9.1 #133762thanks for the nice reply… as for being the slowest.. do i win a prize ? :-)
Thanks for the in depth reply – the images in the gallery all will be optimised however the client has very strict rules due to the nature of the people viewing it (cinema projectionists).. and the site is EXTREMELY content rich..
the other uploaded images are optimised using pixresizer which is always a winner for shrinkage ! For the others I was going to wp-smushit afterwards..
im hosted on dreamhost.. not a botswana site.. but recently feels like it… they are having some issue atm.. ;-) You should check out the load times of the backend. sheesh !
As for loading times being the cause of the anim not displaying till the end of the gallery even with the fix in place.. well the gallery has not been changed – enfold was updated and the above fixes put in place.. the anim (grey out) is still there till gallery end.. so while I agree the site is big… im not sure its 100% the cause of the problem (which was not there in the versions prior to 1.9)
August 9, 2013 at 10:55 am in reply to: .trigger('avia_start_animation') fix no longer working in 1.9.1 #133760odd now it doesnt work on all galleries :-(
http://goo.gl/lmJMXH <- lots of smaller galleries = no
but this with one gallery does (most of the time but not always)
cheers !
August 9, 2013 at 9:09 am in reply to: .trigger('avia_start_animation') fix no longer working in 1.9.1 #133759That appears to work ! This might be a bit cheeky of me to ask considering you have been so helpful, but would there be a way to trigger the animation when you hit the start of the gallery, rather than removing the anim completely ? I think the client liked the anim, just not the greyed thumbs !
August 9, 2013 at 8:51 am in reply to: .trigger('avia_start_animation') fix no longer working in 1.9.1 #133757implemented but it still seems to require a scroll to the very end to ungrey the thumbs :-( cleared all caches and restarted browser so it isnt that !
Hi Arnijon,
this will sort you out :-)
/*Tooltip width*/
.avia-tooltip{ width: auto; }
August 8, 2013 at 8:53 am in reply to: .trigger('avia_start_animation') fix no longer working in 1.9.1 #133755hi ismael… perhaps you misread the above !
I already had that patch in place.. repatched the new files but it doesnt appear to work on 1.9.1 whereas it did previously
Hence the subject title and patch code which pasted above is what you linked me to :-!
August 8, 2013 at 5:05 am in reply to: .trigger('avia_start_animation') fix no longer working in 1.9.1 #133753Hi Ismael.. I mean I have had it patched to load all the thumbs at the start as I have some massive galleries and thats a lot of scrolling down until they show from faded to full colour.. After the update the anim is there no matter what now..
actually no I cant.. some of the thumbs get chopped off.. is there any way to set width:auto instead of 591px and still have the alignment?
The issue being that fix was in place to stop thumbs resizing bigger than you want according to the column page…
btw I made no template adjustments.. the test page showed the column layout in adv builder.. also you are cropping the image thumbs on your first pic !
it has issues with scaling the page down as the columns get lopped off.. but I can live with that
YES !!!! thanks so much… it works !! thankyouthankyouthankyou :-) I really really needed this.. thanks again !
im already on making the pics standardises min width ..
updated to 1.9.1 without the original mod and the captions are the same.. the layout code for thumbs has now changed to:
$thumbs .= " <a href='".$link[0]."' data-rel='gallery-".self::$gallery."' data-prev-img='".$prev[0]."' {$class} data-onclick='{$counter}' title='".$description."' ><img {$tooltip} src='".$img[0]."' title='".$title."' alt='".$alt."' /></a>";
how can I add the forced alignment etc here?
I have implemented your code… Sadly this doesnt actually change the layout from the code I pasted,,
the text is not always aligned underneath the thumb nor is it centered when it is underneath -(
as per: http://goo.gl/3ww04b
It would be lovely if the elements on the avia advanced layout editor could be names – or at least had numbers ! On a page with about 50 embedded galleries its a nightmare trying to work out which one is which !
still at a loss for aligning text to center underneath the image.. I understand about the image sizes, but is there a way to force the caption underneat the image, no matter the size -AND to make sure it is centered not left justified.
Thanks
great thanks, I can use this to align the logo as well.. cheers
ok.. if you have a 800×800 picture.. insert as a 2 column gallery.. if you choose any size less than half of the width of the column.. so say 450px x 450px – the captions appear underneath.. if you choose 300px x 300px the captions appear on the right of the thumbnail.
so 1. How to stop this and 2. how to center align the captions under the pic *not left justified..
Thanks again I know how busy you are and appreciate the assistance
perhaps you misunderstand.. I really have to have the captions.. but the text just to be aligned center under each thumbnail
Most of the images are really huge and way over 300px – it does appear that the ones less than 300px are causing the problem ! I will try fixing the sizes and see where I go…
help with the caption alignment would be great thanks !
no its not on maintenance mode.. not sure why you cant see!
logo/ menu misalign
Main site:
im on desktop. how should I send shot ?
yep, still has the same problem albeit with slightly diff layout.
the logo is centered only in full window and when shrunk it moves left and the menu is still offscreen.. :-(
Hi devin… here you go:
If the thumbnails are smaller than the total column width – the extra space is filled with other images and/or captions
have created a sample page with same 300×300 px thumbnail size in different column widths
cos its a responsive theme.. if you have a big header and view on a lower res phone for instance- it might take more than the whole screen size.. resizing allows you to find the responsive menu :-)
you can do it in quick css like this:
/*top menu font & size*/
#top .main_menu .menu li > a {
width: 100%;
height: auto;
font-size: 20px;
font-weight: normal;
}
/*top submenu font & size*/
#top .main_menu .menu li ul a {
width: 100%;
height: auto;
font-size: 20px;
font-weight: normal;
}
or you can just install plugin : typography
and add elements for :
#top .main_menu .menu
select font and size etc
$thumbs .= " <a href='".$link[0]."' title='".$description."'><img src='".$img[0]."' title='".$title."' alt='".$alt."' /><span class='avia-gallery-caption>{$caption}</span</a>";
The weird thing is that in 2 columns the captions appear on the sides of the image !-0
Ah It gave me a place to start.. your code was a little out:
<span class=’avia-gallery-caption>
in place of :
<span class=’visible-caption’>
which is :
$thumbs .= ” <span class=’avia-gallery-caption>{$caption}</span“;
and the css class for this is:
SPAN.visible-caption
Thanks for your time,
I already did that as the code was the same as the post 2 months ago..
sadly the caption still only appears as a tooltip.. nothing underneath it!
What do you suggest ?
-
AuthorPosts