benetech / Imageshare

MIT License
0 stars 0 forks source link

Unable to manually add resources through wordpress "Add" (thumbnail image is blank) #241

Closed clapierre closed 4 years ago

clapierre commented 4 years ago

Unable to See Resource Featured Image URL when adding a resource manually.

All the resources so far has been imported using the Settings/Import tool and this worked for the featured Image of the resource.

However when you go to edit any of those resources added via the JSON import the "Featured Image URL" is blank as shown in this screen shot.

Screen Shot 2020-08-20 at 7 29 12 AM

Now when I added a new resource manually and added in the URL to the featured image is shows in this "Featured Image URL" as shown in this screen shot

Screen Shot 2020-08-20 at 7 29 12 AM

However the Thumbnail image doesn't show up. I have tried both URLs to our S3 images as well as ones which we used for the DCMP video thumbnails all of which showed correctly so its not an issue with how we are storing the images on S3 (ie. downloadable/preview-able).

As you can see here and when I find the Resource in Imageshare it also shows a blank thumbnail for any image where we manually added resource vs. imported it from the plugin settings.

Alt: Wordpress Resource View, shows this resource has no thumbnail image Screen Shot 2020-08-20 at 7 28 57 AM

Alt: Imageshare Resource View, shows this resource has no thumbnail image Screen Shot 2020-08-20 at 7 42 38 AM

(Also checking the page source has the following)

Screenshot: Phet Simulation - Ballons and Static Electricity.  Sweater with number of + / - balls representing protons and electrons on the shirt.  Ballon with a few + / - balls  on it, and a wall with a large number of + / - balls.
jkva commented 4 years ago

Fixed via 71e65f5