Fixed major problem; Still room for improvement
-
Thanks to a bug in Frizzly, I got the clue I needed to figure out how to set the Twitter message beforehand, and with some additional searching, I figured out how to get Frizzly to post the image it is associated with to Twitter. Earlier today, I noticed that my excerpts didn’t look right, and I traced the problem to Frizzly. I had checked “Download image description and caption from Media Library” and it was rewriting my excerpts by replacing my IMG attributes with Frizzly IMG attributes. So I unchecked this, and I did some testing of the code Frizzly added to my excerpts. Before the IMG tag, it put an INPUT tag with some more attributes, and the data-frizzlyPostTitle attribute turned out to be the one that would replace the post title in the Twitter message it composes. But I still needed a place to store the information I wanted to assign to that attribute. I finally figured out how to get data from the WordPress metadata for an image. I then uploaded an image to Twitter, got its short URL from Twitter by pretending to retweet from my other account, put that into the image’s caption field with a short message, and tweeted it. Thanks to some PHP code I wrote for retrieving the image caption and writing it to the data-frizzlyPostTitle attribute, I was able to tweet the image associated with the Twitter button, and it shows up on Twitter without any need to click on it to view it.
This was my biggest issue with this plugin. My other issue is that Facebook will work with only one image, the one defined in the meta data as og:image, assuming it is at least 200×200 pixils in size, but Pinterest and Twitter can work with any number of separate images on a page. So, there needs to be a way to specify on a per image basis which buttons to hover over an image. I propose being able to define a separate image selector for each button. Until this is fixed, I’m keeping the author’s previous plugin, jQuery Pin It Button For Images Options, around in case I want to add Pinterest support for additional images.
Also, I am using Frizzly only in hover mode. The shortcodes have not proven useful to me. They display poorly. I’m not sure what the Lightbox module is for. It is not well-documented and doesn’t seem to do anything.
- The topic ‘Fixed major problem; Still room for improvement’ is closed to new replies.