Forum Replies Created
-
AuthorPosts
-
Hey Guys, sorry to revisit an old thread, but was wondering if full Rank Math integration was still on the radar? Really hope so!
I’m sure Gunter and the devs have already looked at it, but there’s a reference to the Rank Math Content Analysis API implementation here: https://support.rankmath.com/ticket/how-good-works-rank-math-with-enfold-and-avia-layout-builder/
Regards
Tim
-
This reply was modified 2 years, 11 months ago by
THP Studio.
Hi Yigit,
Thanks so much for taking a look.
Your code helps a lot, thank you.
Regards
Tim
Hey guys,
Another horizontal gallery related question sorry….
Getting very different layouts in Chrome, Safari and Firefox for the same CSS code on mobile only (below 768px).
Link provided below.
Notice the image sizing and cropping in each browser.
I added in the margin-top: 45px purely to get some image showing in Safari, as without it it was barely even visible (but happy for that code to go).
Any suggestions please?
Thanks a lot
Tim
Hey Ismael,
On the dev site we no longer have Yoast, you can take a look below
Regards
Tim
Hey Ismael,
Yes, using the ALB Video Element.
I can see itemtype=”https://schema.org/VideoObject” in the code on the page, (you can check using the link I posted in the opening post) but my question relates to schema validators not registering the page as having any video content. Again, if you use the link I posted you can see there are no elements detected that contain video (unless I’m missing it somewhere?).
Could you take a look at what’s going on please?
Thanks a lot
Tim
Hey Gunter,
Thanks for getting back to me.
Ok, I don’t think for now the filter is needed.
Another feature request for this element though would be an option to remove the need for a % setting for the image height, and allow a column setting (eg: 3 columns shows 3 images) and the images just scale normally like they do on easy sliders for example. The % requirement introduces odd cropping of images on mobile.
Thanks for considering these requests as always, hopefully they make this element a much more useful and user friendly one :)
Kind regards
Tim
-
This reply was modified 2 years, 12 months ago by
THP Studio.
Hey Gunter,
Thanks for taking a look and sorry to waste your time, I should have mentioned that the live site has been fixed (by turning off Enfold’s merging).
I will try and see if I can replicate it on a dev site for you soon, will let you know.
Thanks
Tim
Hey Gunter,
Got a problem with the responsive typography not working.
If i disable Enfolds CSS combine/minify, it works fine. When I enable it, it’s like the media queries aren’t being executed. Actually, it’s not just responsive typography but other media queries as well that aren’t getting executed when combine/minify is enabled.
I am only noticing this on a site where responsive typography is enabled, and not on others (although I haven’t tested this extensively).
I thought initially it was Litespeed cache causing the issue, but I have disabled all CSS minification and combining in litespeed and tested multiple times, and it seems to be related to the Enfold compression setting.
Interestingly, if I let Litespeed combine and minify (with it all turned off in Enfold) then it appears to be working fine. So again, seems to point to something with Enfold’s combine/minify.
I hope that makes sense.
Regards
Tim
-
This reply was modified 3 years ago by
THP Studio.
Hi Gunter,
Ok, v5 sounds really interesting! Thanks for adding it to the repo, it’s not a deal breaker but would be nice to have fixed at some point when you can manage.
Thanks for all your work
Tim.
Hey Gunter,
Fantastic, thanks for implementing that, I look forward to trying it in 4.9 when it is released
Regards
Tim
Ok thanks Gunter, I appreciate you taking a look at it.
Regards,
Tim
HI Gunter,
Hope you’re keeping well.
Just wanted to flag a small issue with the backend previews of images missing sizes in the html.
For instance, if I add an easy slider, then go into the slide and add/edit the image, there’s normally a square 80×80 preview of the image selected under the Change Image button.
But this is missing entirely when using an image proxy service, as from what I can see there are no sizes or srcset present in the html and so the image proxy service can’t return an image. This is the span that just returns the image src:
`<span class=”avia-builder-prev-img”>
</span>
This is the same for any element that provides the small preview image in the backend of the ALB.
Could that be updated to include sizes if possible please?
Thanks a lot
Tim
-
This reply was modified 3 years, 1 month ago by
THP Studio.
Great, thanks Ismael, I appreciate the update and the fix.
Regards
Tim
Same issue here, I posted it earlier but haven’t heard back yet: https://kriesi.at/support/topic/gallery-and-page-title-bug/
Thanks Yigit!
Have a great day.
Tim
This one can be closed, thanks.
Thanks a lot Gunter, have a great weekend.
Tim.
Awesome, sounds great! Thanks Yigit :)
Hi Gunter,
We briefly tested the dev version and it seems to have fixed those issues, thank you very much.
If you can think of any other element or feature that may be missing image sizes in a similar way that these ones were, please add them in also. If I spot any more I’ll be sure to let you know.
Thanks again,
Tim.
Hey Yigit,
Thanks for the quick response and for forwarding that on.
I appreciate your suggestions too, I was aware of the WooCommerce one, but hadn’t thought of using the notification element in the top bar, that could work. Although if you need the top bar PLUS a notification, then that may not work entirely.
Thanks Yigit, have a great day.
Tim
Hi Gunter,
Sounds great, thanks so much.
Tim
Hey Gunter,
Thanks so much for looking into it.
So we think just adding in the image sizes should be enough, but unfortunately we won’t know for sure until we can test it and see if something else in the steps that are run messes up the image proxy. But hopefully just the image sizes will be enough, maybe we just start there?
Thanks again,
Tim
Ah I see, thanks for the explanation Gunter, and thank you so much again for helping us work through these two issues, it really has been a big help.
I haven’t gotten around to test the gallery retina tweaks, but will look out for it in the next version.
Thanks again Gunter.
Tim
Hey Gunter,
That’s brilliant thank you so much! lifesaver!
There was one problem with the code provided. It threw this fatal error:
PHP Fatal error: Uncaught TypeError: custom_avf_masonry_flex_image_html(): Argument #4 ($config) must be of type array, null given, called in /wp-includes/class-wp-hook.php on line 303 and defined in /wp-content/themes/enfold-child/functions.php:16
Because $this->config doesn’t exist. We just removed the $config from both functions and it works.
Hi Gunter,
Hope you had some time off!
Wanted to get back to you on the issue mentioned above that we need your help with.
We seem to have tracked down where the problem occurs with Imgix images and any masonry style ALB element (since they use the same core files). In the av-helper-masonry.php file it calls the make_image_responsive function and passes this string to it:
$img_html = '<img src="'. $attachment[0] . '" title="' . $img_title . '" alt="' . $alt . '" />';
Eventually the WordPress function wp_filter_content_tags attaches a width and height HTML attribute to the string because it’s not in the string. Because the way Imgix works (server.com/imgname.jpg?w=123&h=456), and every other image proxy service, WordPress looks up the details for imgname.jpg which it gets the full size width and height, it then adds these dimensions to the HTML rather than the width and height it’s requesting.
By comparing the code in other elements such as the easy slider or the image element (which work fine) we noticed that the difference in the way they works is that when these functions call the make_image_responsive function they pass in the width and height into this function. Eg.
$img_tag = "<img src='{$img[0]}' width='{$img[1]}' height='{$img[2]}'
This then stops WordPress later on looking up of the attachment details and adding the width and height. So how ever you pre-lookup the width and height in these other elements works fine.
So can you see the best way for us to get around this so that we can use Imgix and others can use other image proxy services without issue? We are not experts but thought of a few ways:
1. Should a lookup of the width and height happen and it be add to the HTML string before calling make_image_responsive like the other elements do?
2. Should we intercept the function that WordPress makes ( these is a hook there) and extract the width and height from the string Eg (server.com/imgname.jpg?w=123&h=456)
3. Some other better way that you think it should be done?The first option seems the best as this problem only seems to be effecting the masonry element and option 1 is specific to masonry code.
Option 2 I worry will impact other unforeseen things and is unnecessary for all other elements as they work fine.
-
This reply was modified 3 years, 2 months ago by
THP Studio.
Brilliant, thanks again Gunter! Will have a play with it as soon as I see it available.
Regards
Tim
Hey Gunter,
Amazing turn around time on that fix, thanks so much!
Yeah I would love a copy to try out if I can please.
Thanks again
Tim
-
This reply was modified 3 years, 3 months ago by
THP Studio.
Perfect, thanks again Gunter.
Hey Gunter,
That’s brilliant, thank you, really appreciate it.
Tim.
Hey Gunter,
Thanks for the responses, and for changing the input fields to allow variants other than pixels, that will be great.
I’ll wait to work on this for my clients until that functionality is added.
Have a great week
Tim.
-
This reply was modified 2 years, 11 months ago by
-
AuthorPosts