1 - I'm having issues setting the proper size for the images on mobile and because of that my Core Web Vitals is failing. The images on the homepage are displaying a larger version than they should.
Or you can use 'custom' for the size attribute value. If you use custom then you need to use the width and height attributes in conjunction with the shortcode to specify the exact image size you want to use. As an example:
Maybe that can help you use the custom attribute for the feature image and add a proper width/height for mobile.
For the ALT tag I think the issue is that the %%ALT%% only works in a context of using one of the Toolset shortcodes to create the whole image and not using the image tag.
What would you want to use for the alt tag in this scenario? For example, you can use the [wpv-post-title] shortcode to add the title of the post for the ALT.
But if you want to use something else please tell me and I will find a solution.
Regarding the ALT is a basic thing that I need the page to do. Deploy an image and the alt field. I don't think it can be very complicated. Using [wpv-post-title] is useless. It doesn't output the alt text and it immediately raises a red flag by Google, not to mention that it penalizes the site in the SEO rankings.
In some other pages I've got this code and the ALT field is working fine.
Regarding the image sizes, I don't need different views. The page has the same content, regardless it is mobile or note. I just need the images to display at a proper size when in mobile or desktop.
Perhaps can a senior colleague give a hand? Or someone else in the team?
I've been with Toolset for a few years and my renewal is coming soon, but if Tooset is not helping any more, there's no point in keeping it.
Thank you and sorry for the late reply due to the weekend time.
I will ask my colleagues to take a look into the page.
I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.
Make sure you set the next reply as private.
Also tell us which page to check. By the way regarding the ALT code again the example you gave is in context of using it inside a Toolset shortcode and not direct HTML code that you use.
Thank you for the login information but unfortunately it is not working for me:
Erro: O nome de utilizador ---- não está registado neste site. Se não tem a certeza sobre o seu nome de utilizador, tente com o seu endereço de email em alternativa.
I asked my colleague to check and he also could not login.
Would you please ste the next reply as private and provide the correct login information?
I checked your initial post and I see this is how you are displaying the image tag:
<em><u>enlace oculto</u></em>
As you can see you are using HTML image tag and passing image src using shortcode: [wpv-post-featured-image size='penci-thumb' resize='proportional' output="url"]
What if you try to replace the above code that you added to your view with the following:
=> url removed
Yes, the ALT field is now working fine. Thanks for fixing that!
I only have the other issue where it seems the images being published are larger than they should be. If have size="thumbnail" is too small for the viewport, if use "medium", then some of the images do not display properly, but the rest do. Maybe something wrong the loop code that I have?
Please check if that works otherwise you will have to check with bootstrap or CSS expert as I do not have iPhone 14 device or simulator available for testing.
So, I've put that code and now when looking at the page, the first two images on the page have a different size and aspect ratio. It seems these two images (first row) are not behaving the same way as the other images. Any idea why this is happening?
In that case I suggest you should use the fix height and width using the custom size as suggested with the following reply and check with CSS expert how you can cover whole div space using the image.
=> https://toolset.com/forums/topic/image-size-2/#post-2799102