mcasbtech
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Credit] Credit no longer displays at allHi @pputzer
Sorry about the lack of response. There were some deadlines and a vacation somewhere in there.
Just wanted to pop back in to say I ended up actually learning just enough PHP to be able to override the default theme and grab the caption field from the image with
wp_get_attachment_caption()
and style it how I want including using proper italics for artworks. Still have some cleanup work for older images that don’t conform to the theme’s image aspect ratio (caption box is overrunning the smaller sized images), but otherwise working quite well. Meaning that I’m no longer using Media Credits at this point.But, your plugin served us very well for several years, so for this I thank you. Also, thank you for being responsive to support queries.
Cheers!
Forum: Plugins
In reply to: [Media Credit] Credit no longer displays at allHey, sorry for the lack of response. Deadlines, etc. Let me see if I can find time in the next couple of days to check back in with this.
Forum: Plugins
In reply to: [Media Credit] Credit no longer displays at allHmmm. Let me look into this further. May have to wait until Monday, though. To be continued.
Forum: Plugins
In reply to: [Media Credit] Credit no longer displays at allSure. We have Page Builder by SiteOrigin and SiteOrigin Widgets Bundle.
Forum: Plugins
In reply to: [Media Credit] Credit no longer displays at allIt’s pretty well disabled for now, but I’ll check that out, thanks.
The SiteOrigin plugins are freemium if you want to test it yourself, but more or less that’s what’s happening. The image and credit appear fine in the editor itself at first, but only disappear when I publish with update. It’s actually not necessary for me to change the credit in any way for it to happen.
Forum: Plugins
In reply to: [Media Credit] Credit no longer displays at allYes, the title of the artwork.
Probably some of this strangeness is due to me just hacking around the theme, which we didn’t build. The featured image is used by the theme for all the exhibition and event widgets on the site (yes, I had to
display:none;
the Media Credit from those widgets) and as the main image on those pages. I could at least remove the featured image from the pages through CSS, but would then have to go back andAdd Media
to a ton of previous posts. I may still end up doing that eventually, but not currently high priority.You may be right that using the caption field would be the correct way to go, and we may do that in the future. I remember trying to use it at some point but it didn’t work properly. That seems to have been fixed in the meantime, though. There are some styling issues, but I may be able to work around them. Of course, this depends on stopping the use of featured images on pages, as mentioned above, and having to set one manually, which we’d have to go back and do for 3 years worth of events and exhibitions. Might have to bite the bullet eventually, though.
Here’s an issue I just found.
Add Media
works fine in the default WP editor with an image that includes a Media Credit, but if I try to do the same thing using an editor within SiteOrigin visual composer (which most of our site uses), any image that includes a Media Credit will be automatically deleted from the SiteOrigin widget upon update. Happens with the SiteOrigin Editor and Visual Editor widgets, but not the Site Origin Image widget, which doesn’t let you use a caption anyway so isn’t particularly useful here. Just something I found messing around now.That
Display credit for featured images
toggle was the first thing I checked when it disappeared and it didn’t seem to make a difference at the time. It is activated now, though, and the credits disappear if it’s not activated.Anyway, thanks for helping me talk through this. It would be nice to have that
<em>
tag in 4.x, even if I may eventually have to do a bunch of work to end up basically not using your plugin in the future.Forum: Plugins
In reply to: [Media Credit] Credit no longer displays at allHi Peter.
Thanks for responding.
Strangely enough, 3.2.0 started working again since last night. I literally didn’t change anything. Go figure.
Yes, I had deleted the 4.0.3 version before reinstalling 3.2.0, but the Credit line in the Media settings of the images had been retained. I also keep 3 backups on Google Drive at any one time and had backed up just before upgrading. The situation didn’t seem dire enough to do a full restore, though.
As for the formatting in 4.x, really the only tag we’d need is ’em /em’. Or maybe the ability to use ‘span’ so I can cut in some arbitrary CSS. However, we’re already using ’em /em’ and lots of existing photos include that tag, so that would probably be easiest for me. Not a huge deal if I have to change them, though.
Thank you.
Oh, and here’s a page currently using credits with 3.2.0 so you can see what that looks like.
https://www.mcasantabarbara.org/exhibition/bloom-projects-beatriz-olabarrieta-ask-the-dust/
Forum: Plugins
In reply to: [Media Credit] “Do not display default credit” setting no longer respectedHi again.
Sorry, just got back in the office. I was able to install the new version and test. Seems to work great now!
Thanks a bunch!
Forum: Plugins
In reply to: [Media Credit] “Do not display default credit” setting no longer respectedOh, and Re: test case, the media credit bar also appears under images in our (not currently live but upcoming) web shop. Those won’t usually need a credit either. I could technically set the background of the media credit bar to white, but the powers that be specifically wanted it gray, so…
Forum: Plugins
In reply to: [Media Credit] “Do not display default credit” setting no longer respectedCool, thanks for looking into this.
For the feature request, this really only affects featured images, I guess. Right now, media credits for featured images are either globally on or globally off. We use a lot of images that need artist/photographer credits since we’re a museum (and I really wish default WordPress included some reasonable functionality for that, though your plugin works best of the options I tried so far), but sometimes we want to use an image that doesn’t need a credit for one reason or another. For instance, if it was taken by a staff member, or if it’s actually a graphic produced internally. For example: https://mcasantabarbara.org/?event=curated-cocktails&event_date=2017-02-02. That curated cocktails logo is something we produced, and we really don’t need to credit ourselves for it (we’re not narcissists, after all). Since there’s no way to turn off media credits for an individual featured image, and we still need to use credits for others, there’s an annoying gray box under this one even though it’s blank/uses a space char. Our theme uses the featured image as a header in the widgets you see here: https://mcasantabarbara.org/events/upcoming-events/ (and I had to hack some CSS so that the media credit didn’t appear in the widgets as well). Using both a featured image and an inserted image isn’t really an option. I’m trying to keep weird workarounds to a minimum since others have to be able to update the site as well.
Basically I’m looking for a way to locally turn off media credits for individual featured images. Or, the space the credit would normally occupy on the page should completely disappear if no media credit input text has been entered in the back-end. Either one would solve the issue for me.
Thanks.
Forum: Plugins
In reply to: [Media Credit] “Do not display default credit” setting no longer respectedHere are some screenshots: https://mcasantabarbara.org/troubleshooting/
how_normally_used.png is how it usually looks with a credit.
blank_space.png is how it used to look when no credit was entered and “Do not display default credit” was checked, and how it currently looks when I just enter a space character in the credit field
default_author.png is how it looks now that I’ve upgraded the plugin. That’s my name, which is coming from my user account. Not just in the back end, that’s the live site.
attachment_details.png is what the attachment page looks like in the back-end, where you can see my name as it appears by default and cannot be removed. Before, even though my name appeared there, no credit appeared on the live page if “Do not display default credit” was checked in the plugin settings. Now it does.These are for Featured Images, by the way. I know I can choose to use a credit or not when inserting into a post.
I could technically go back and enter a space character for each image where this is a problem, but that’s between 50 and 100 images, which I frankly don’t have time to do right now, and it used to work fine before the plugin upgrade.
As for the feature request: You mean like a checkbox in the Media dialogs that switches the input field on and off?
Kind of, but not just that switches the input field off but prevents any media credit from displaying on the page even though one may exist for that image. Again, mostly talking about “featured” images here.
Hope that all made sense.