A user contacted me to say that CaptionPix wasn’t working and he provided me with his Captionpix shortcode so that I could try it myself.
This is the code that given to me. (Note extra spaces are embedded in this command so that it can be seen here)
[ captionpix imgsrc=”https://blogs.comm.psu.edu/shanksville/?attachment_id=611″ captiontext=”shortCaptionGoesHere”]
The command didn’t work for me either. But that isn’t surprising. When you provide an image for CaptionPix to use, you must specify the URL of an image.
The URL provided by the user in this case is the URL of the special webpage that WordPress creates for attachments. (WordPress refers to some images as attachments). When you visit https://blogs.comm.psu.edu/shanksville/?attachment_id=611 you will see it is a full web page, not just an image.
The correct image URL for the image shown on that webpage is : https://blogs.comm.psu.edu/shanksville/wp-content/uploads/2010/11/rao1.jpg
If you specify the URL of an image, CaptionPix will work.
Example of CaptionPix Using User’s Image
I will add a CaptionPix placed image at the bottom of this post using the user’s image.
[ captionpix align=”center” theme=”photo” width=”550″ imgsrc=”https://blogs.comm.psu.edu/shanksville/wp-content/uploads/2010/11/rao1.jpg” captiontext=”This works for me”]