I’ve done some more digging. It appears that when you select an image using the plugin, it gets the ID of the thumbnail version of the image, not the id of the actual image in the media gallery. I believe this is the link of code in the plugin itself that is my issue:
if ( !isset( $item->thumbnail_id ) ) {
$item->thumbnail_id = get_post_thumbnail_id( $item->ID );
}
get_post_thumbnail_id() seems to return the thumbnail version of the image, not the ID of the original image (which is what I need). Any idea how I can modify this so it gets the ID of the original image, instead of the thumbnail?
It’s interesting to note that of all the other images & menu items that I’m doing the exact same thing with, this is the ONLY one that isn’t using the original image url but is instead using some other URL that is pointed to a resized image. And no matter how many times I remove the menu item and recreate it and point the image to the correct image, it always changes it to the 150×150 image.