eyeteeth
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Library Assistant] 3.14 breaks media source@dlingren i was using mla_link_attributes=’data-src=”{+file_url+}” but it seems i should use mla_link_attributes=’data-src={+file_url+}
when i remove the “” the updated plugin works
thank you this solves the recurring issue!Forum: Plugins
In reply to: [Media Library Assistant] 3.14 breaks media sourceit seems this issue has snuck back in! https://www.ads-software.com/support/topic/gallery-slideshow-stopped-working-with-update-3-12/
Forum: Plugins
In reply to: [Media Library Assistant] 3.14 breaks media sourcehi sorry it’s the data-src attribute in the anchor tags created by the mla-gallery tag. here is a screenshot of my inspector showing the issue. https://ibb.co/TTV6GMq
Forum: Plugins
In reply to: [Media Library Assistant] Gallery slideshow stopped working with update 3.12Hello, with the dev version the slidshow works again. Thank you for looking into this!
Forum: Plugins
In reply to: [Media Library Assistant] Gallery slideshow stopped working with update 3.12I think I found the issue after re-updating to 3.12, the attributes provided by “mla_link_attributes” get &qout; inserted in place of quotation marks, with this result:
data-src=”"https://www.eyeteeth.club/wp-content/uploads/2023/09/mob-vog-01-a698cabc.png",” class=”"lightbox-selector"”
Is this an issue with my formatting of the mla_link_attributes values?
Forum: Plugins
In reply to: [Media Library Assistant] Gallery slideshow stopped working with update 3.12I have many galleries, I tried three when I noticed the problem. Here is the first one:
[mla_gallery attachment_category=’never-gonna-get-it ‘ mla_link_attributes=’data-src=”{+file_url+}”, class=”lightbox-selector”‘ orderby=’name’ size=’comic-cover-thumb’]I apologize, it’s been so long since I installed everything I forgot that MLA does not provide the slideshow functionality. The slideshow is from https://www.lightgalleryjs.com/ which I believe is packaged with my theme. If you are able to locate the issue I would appreciate it but as it’s an interaction with someone else’s code I understand if you cannot.
Forum: Plugins
In reply to: [Media Library Assistant] only 10 items per gallery after 3.08 updatethanks so much!
Forum: Plugins
In reply to: [Media Library Assistant] only 10 items per gallery after 3.08 updatei have reverted my plugins and then updated all but MLA, and the issue has gone away, so i think the issue is a change to MLA.
well in my own filesystem they were in different threads. when i uploaded them to wordpress it just plopped them all into uploads/<year>/<month>. i don’t know how wp manages a bunch of files with the same filename, but it didn’t seem to mind until after i ran renamer!
i didn’t save the logs, do they get stored automatically anywhere?
okay, i ended up trying this. it works! if anyone wants the function, here it is.
function my_filter_filename( $new, $old, $post ) {
$rename = substr(md5($new), 0, 8);
return $rename . ‘_’ . $old;
}
add_filter( ‘mfrh_new_filename’, ‘my_filter_filename’, 10, 3 );