Skip Navigation

[Resolved] Serving custom size background images to reduce page load times and size in grid

This support ticket is created 4 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 10 replies, has 2 voices.

Last updated by Minesh 4 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#1620665
CaptureGT.PNG
Captureimagesource.PNG

I have a grid of 8 posts using the featured image as a background, the background image used is the full size image causing bloated and slow page load time . I would have expected to be able to define the image size here with the ability to use the standard large, medium, thumbnail options.

You can see an example under the My Latest Card Creations at the URL below.
hidden link

Any suggestions on how to make this a bit leaner?

#1620703
Capturegtimage.PNG
Captureoverlaperror.PNG
Captureoverlap.PNG

As a work around and following on from my previous message I have created another view but instead of using a background image I have used the image field to allow me to select the correct image size etc. The trouble I'm having with this method is with the layout of the overlapping elements. I want to overlap the image with the title and excerpt fields to create a nice looking layout, but the fields are disappearing beneath the image and there doesn't appear to be a way of controlling the z-index of the elements, I'll try and add a css class to override this but I would have expected a simple layout like this should be achievable via the blocks interface.

hidden link

#1620729
imagezindex.PNG

Setting the image z-index to -1 should work, but I'mm unable to enter negative values in the option box as shown in the image attached

#1622487

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please tell me which block you are using and to what block you are trying to set the z-index?

Maybe problem URL and access details will help so that I can see the issue in action.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1624035

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked on the following page: hidden link

I see the text is overlapped on the image - is this not the output you want or I misunderstood the issue?

#1624093
Capture8.PNG
Capture7.PNG
Capture6.PNG
Capture4.PNG

Apologies for not explaining the issue more clearly, yes, the text is overlapping, but this method is unusable because using a background image this way we cannot define which size image to use, it just uses the full size image and css to size it. We should be able to define which version of the image as defined in the media settings. All the information is on the two test pages to see if you study it.

Issue 1: Z indexing of images
issue 2: No control of image size version when defining HTML background image

#1624129

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

If you check the following screenshot: https://toolset.com/wp-content/uploads/2020/05/1624093-Capture6.png

There is a link "Add Custom Size" using which you can define your own custom size and once you add your custom size it will also offer you the crop option.

#1624169

I think you'll find that is for the image block. Try adding an image as a background in a container block.

#1624305

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I had an internal talk with concern person and we are happy to add a feature to container block that will allow you to set the custom size and offer the same settings like image block when you set the container background as image.

However, please note that there is no ETA on it but at least I raised your voice and we are happy to pass your voice in front of our Devs.

#1624951

Thanks for the update on the file image size issue, where are we up to regarding the z indexing of the image block?

#1625671

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Regarding the z-index, I already shared the information with our Devs and they will fix this as soon as possible and the fix should be added in near future release.