You will have to add support for thumbnails in your functions.php/plugin-file.php From here you can modify this output in your loop to work for your needs:
This function will generate an image by temporarily registering an image size, generating the image (if necessary) and the removing the size so new images will not be created in that size.
current_shortcode() detect currently used shortcode. I made my catch all handler accept a third argument, which is the shortcode name:
At the beginning of wp_insert_post, the function that saves/updates a post, there is a filter called wp_insert_post_empty_content. By default this filter checks whether the title, editor, and excerpt fields are all empty, in which case the save …
I am not sure if this will work for you but it is worth a shot. I use this all the time for my custom post types when they require a special template.
If still relevant, maybe this could help others looking for similar solutions
You should be familiar with already, as you should be using it to create the table. On your install hook you should have something like:
If you want to test your custom SQL to see how it affects the loading time, you can try this query swapping:
How can you set maximum width for original images. I was able to solve it using the following code: