Plugin Author
Brecht
(@brechtvds)
Hi Greg,
I’ll look into it!
For most collages the images are already a small thumbnail and don’t change much in size, but there might be performance improvements in some cases.
Ok. I have done the following mistake : my image are not thumbnail but full size image. Where can I find the details image by shortcode ? On the database ? Which table ?
Plugin Author
Brecht
(@brechtvds)
It should automatically pick the most appropriate thumbnail that’s available.
WordPress generates different thumbnails. A plugin like https://wordpress.org/plugins/simple-image-sizes/ could be used to generate more.
Ok, great, I will check that. But you don’t answer to my question :
Where can I find the details image by shortcode ? On the database ? Which table ?
Greg
Plugin Author
Brecht
(@brechtvds)
I’m not sure what you mean be “the details image by shortcode”.
What are you looking for exactly? The collage is a custom post type with custom metadata, so that’s the wp_posts and wp_postmeta tables. But you shouldn’t be editing those directly.
I search the list of the images associated to a specific shortcode.
Plugin Author
Brecht
(@brechtvds)
Can’t you just check in the backend by editing the collage?
I’m still not sure what you’re trying to do exactly here.
I can’t edit each collage. I have too many. I want to check if it’s possible to automate automate to another solution that integrates srcset.
Plugin Author
Brecht
(@brechtvds)
But what are you trying to achieve by editing the collage? We just store a reference to the image ID and use the default wp_get_attachment_image_src() function to get the image to output.
By editing the database you won’t get the srcset attribute.
I want to know where are the reference of the image id
Plugin Author
Brecht
(@brechtvds)
All grid information is stored in wp_postmeta with key eic_grid_data.
But tell me what you’re trying to do exactly and it will be much easier for me to help you out.