formicacraftuje
Forum Replies Created
-
Forum: Plugins
In reply to: [Gallery PhotoBlocks] Replace image doesn’t workHi,
I looked at the plugin code, and added couple of lines in function replaceImage in admin/js/photoblocks.grid.js. It helped.selection.map(function(attachment) { attachment = attachment.toJSON(); $block.data("conf").image.url = attachment.url; /* added lines */ $block.data("conf").image.id = attachment.id; if (attachment.sizes && attachment.sizes.thumbnail) $block.data("conf").thumbnail = attachment.sizes.thumbnail.url; if (attachment.sizes && attachment.sizes.large) $block.data("conf").large = attachment.sizes.large.url; /* end of added lines */ $block.css({ backgroundImage: "url('" + attachment.url + "')" }) });- This reply was modified 5 years, 5 months ago by formicacraftuje.
Forum: Plugins
In reply to: [Gallery PhotoBlocks] External lightbox stopped workingHaha, jQuery it is. For now. At least I don’t have to edit all my galleries.
PS. I love your plugin 🙂
Forum: Plugins
In reply to: [Gallery PhotoBlocks] External lightbox stopped workingI’ll try another lightbox and if it doesn’t help, then I’ll make something up with jQuery.
Forum: Plugins
In reply to: [Gallery PhotoBlocks] External lightbox stopped workingResponsive Lightbox (TosRUs).
I checked that there was also some update, maybe it’s the fault of the lightbox that it stopped catching the link of images from your gallery.
Forum: Plugins
In reply to: [Gallery PhotoBlocks] External lightbox stopped workingThe first photo on the site uses lightbox (the one captioned PROJEKT WERSJI ZEBRA). The gallery used the same lightbox, I didn’t change anything between the updates – and know it doesn’t work.
Did you change how the rel (or data-rel) attribute is generated for “external lightbox”?Forum: Plugins
In reply to: [Gallery PhotoBlocks] Gallery cutting into text beneath itIt happened to me too. Height of the container was about 30px smaller, so the lower images were over the text below.
In which moment do you calculate the height of the container? I had a panoramic image on the bottom of the gallery (in the settings grid I had problems with it) – ratio over 2 – maybe that was the problem?