lsaguiar
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Photo Album Plus] override inline stylesHello again
yes it would be the best. but the problem is most of the units there are in pixels (iv’e set to auto what i was permitted), and hence they’re not dynamic. So i don’t see another option aside of overriding with css
the layout i’m trying to do in flex is something like this:
http://jsfiddle.net/lsag64/2VMVn/actually, with this plugin, it’s almost there: http://utopiaacores.com/design
it’s ok in terms of functionality, but i can’t make the containing element of the gallery to have a height dictated by it’s height, and make the width dynamic. and this messes the vertical centering of the buttons, because the container wont have a dynamic height, and they are centered in its height
to make it easier, i thought of removing all the styles like this
$("#wppa-container-1, #slide_frame-1 div").each(function(i){ $(this).attr({ style: "" }) })but it seem to have no effect
i belive the image width, in the image browser (not in the lightbox) should be contained in the space avaliable, but the heigth proportional. Can you help with any hint?
Thanks for your continued support and patience
Forum: Plugins
In reply to: [WP Photo Album Plus] override inline stylesyes, it works. now i hope i can layout all the elements, overriding rules with !important, like you said. probably, i’ll use flexbox
thanks
Forum: Plugins
In reply to: [WP Photo Album Plus] override inline stylesjust tested on a tablet, and the next and back are very hard to click. it cant be the size of them, because two of the navigation buttons have the same size, and work. i use the same events as you, only mine aren’t inline (but this shouldn’t make a difference, right? if in this html i change the image’s src, shouldn’t still work?
<img id="ubb-1-r" class="ubb-r ubb-1" src="http://utopiaacores.com/wp-content/plugins/wp-photo-album-plus/images/ubbr.png" style="border: none; z-index: 183; position: absolute; right: 0px; box-shadow: none; top: -10px; cursor: default; opacity: 0.19999999999999996; background-color: transparent;" onmouseover="wppaUbb(1,'r','show')" onmouseout="wppaUbb(1,'r','hide')" onclick="wppaUbb(1,'r','click')">here is the page: http://utopiaacores.com/design
Forum: Plugins
In reply to: [WP Photo Album Plus] override inline stylesyes, this javascript works, and i get the buttons i need. but while the page loads, for few seconds, i can still see the original buttons, and only after jquery kicks in, changing them. It would be much better if those inline styles could be prevented from loading, like in Table I-A1 we do with inline css.
thanks for the support and for your dedication to make a great plugin 😉
Forum: Plugins
In reply to: [WP Photo Album Plus] override inline stylesbut this works:
$("#ubb-1-l") .attr("src", base_template + "/img/btnNext.png") .removeAttr('onmouseover').removeAttr('onmouseout');seen it here: http://stackoverflow.com/questions/2888307/remove-attributes-onmouseover-and-onmouseout
the rollover no longer works, which is want i wanted. is there a better solution, mainly so i can remove the inline events declarations in the page?
thanks
Forum: Plugins
In reply to: [WP Photo Album Plus] override inline stylesthe “…” means album, slider or whatever i use, right? iv’e put slide, and it works with sizes and coordinates. But as this is an image, to change the src attribute from that triangle to my own image, i could use some jquery, like this:
jQuery(document).ready(function ($){ $("#ubb-1-l").attr("src", base_template + "/img/btnBack.png"); }); // base_template = the variable holding the template urlIs this the best way?
And how can i change the other javascript rollovers on the same buttons, so that they don’t change at all, not even in opacity?
I’m tryin to get this look: http://utopiaacores.com/design/
this doesn’t work:
var b = document.getElementById("ubb-1-l"); b.removeEventListener("onmouseover", "wppaUbb"); b.removeEventListener("onmouseout", "wppaUbb");If i can do this, i’ll replace the current nextgen gallery by this plugin, because i can’t use the lightbox to navigate in the gallery, and with your plugin, i can do that (so far only in localhost; will upload when ready)
Thanks for your support
Forum: Plugins
In reply to: [WP Photo Album Plus] override inline stylessorry to throw these questions like this, but i believe one could maybe solve the others: is it possible to disable inline styles? I’d like to customize all the frontend interface with css. I hope this is possible
cheers
yes, this makes sense. But regrettably, at least for now, purchasing software for the site, isn’t an option. i will then try to find another solution.
Thanks for your support,
Luisi was expecting that with the lightbox open, i could cycle in the 30 images of the gallery. Not between the one image of gallery that is showing and the other image that i have on the page (witch is outside of the gallery, and therefore, shouldn’t be accessible in this list)
this second image (its an image link) is there to show that if i apply the lightbox effect “to all images that link to image files”, it cycles between those two images. if i just “apply to NextGEN images”, it only shows one image (the one set to be the preview of the gallery), and the buttons disappear.
So, there’s no way to navigate in the image gallery, with the lightbox open? the image browser only works as a browser wiht the lightbox closed?
sorry for the misunderstanding, and thanks for your support
well, i did have some conflicts on jquery, and was loading a outdated version. with the plugin “Switch jQuery Version” and now i only have jquery 1.11 loading. I also Activated
define(‘WP_DEBUG’, true);
define(‘SCRIPT_DEBUG’, true);and i don’t have any errors, javascript or otherwise. i disabled all the other plugins, and am using the Twenty Fourteen theme, without any changes. and the problem persists
to test, i inserted in the page one isolated image, outside the gallery, in plain html code. the gallery has about 30 images
in Other Options > Lightbox Effects, i tried to use
LightBox – i do have the back / next buttons, but the list of images remains at 2: the image set to be the preview of the gallery, and that single isolated image
FancyBox – i don’t have back / next buttons
HighSlide – i have some buttons, and also the information of the number of images in the gallery: 2
shutter and thickbox – the same, without the buttons
in the parameter “What must the lightbox be applied to?”, i tried all 4 options:
1 – “Only apply to NextGEN images” and
2 – “Try to apply to all images that link to image files”both show the 2 images previously mentioned
3 – “Only apply to NextGEN and WordPress images” and
4 – “Only apply to NextGEN images”with both of those options, i wont have the buttons, and shows only the first image of the gallery. Also, the reported number of images int the lightbox is 1
I appreciate your help. Regards, Luis
will do some tests, and will get back to you
sorry if i didn’t made myself clear. no, i need to navigate within the images of the gallery, while having the lightbox open. i only have one gallery, currently with 34 images.
thanks for your patience
in the first image i show what i have working: the user can navigate in the gallery, each image of it open an light box. its what’s online right now here: http://utopiaacores.com/design/
picture 1: http://s21.postimg.org/6c8v7iu53/normal_image_browser_navigation.jpg
fiddling with some parameters i’ve got the buttons back and next working. In “Other Options > Lightbox Effects > What effect would you like to use?”, used lightbox, instead of Thickbox.
picture 1: http://s17.postimg.org/4rf03urxb/light_Box_navigation_2_buttons.jpg
this creates the buttons back and next in the lightbox, but only allows the user to navigate in the images currently loaded in the page, not the ones in the gallery. from the gallery shows only one image, the one currently loaded
my goal would be to allow the user to navigate the entire collection, with the next and back buttons, without having to close the lightbox
picture 1: http://s14.postimg.org/e5rx7jba9/light_Box_navigation_intended_effect.jpg
If you think of anything i can do to achieve this goal, i’m all ears. thanks for your support!
of course. i’l create that and will post here. thanks
i noticed i had some illegal characters in the filenames. after a cleanup, the errors are gone (sorry about that). now, i tried using the Basic Thumbnail Gallery, with this settings:
Override thumbnail settings no
Images per page 2
Enable AJAX pagination yes
Add Hidden Images yes
Use imagebrowser effect yes
Show piclens link no
Show slideshow link noi have the same result, as if i’m using a Basic ImageBrowser, because i just want 1 image from the gallery to show at any given time