BuddyBoss Home – Web › Support Forums › Plugins › BuddyBoss Media › Photoswipe picture title
- This topic has 17 replies, 3 contibutors, and was last updated 9 years, 12 months ago by mth75.
Question
September 22, 2014 at 3:33 pm #31911@mth75@Michael @TJ
How can I change the title from a picture as shown in Photoswipe (in the current situation, posted by … and time ago) to the picture title (as uploaded) and shown in the media gallery?
Regards,
Marc
Answers
September 22, 2014 at 7:48 pm #31920@alyssa-buddyboss
AlyssaParticipant@mth75 what do you mean by the picture title? Do you have a screenshot example you can show me?
September 25, 2014 at 8:34 am #31998@mth75@TJ
Just open a picture (photoswipe) and look at the title on top. The title states:
[user] post a new picture (i.e.) 1 week, 1 day ago.
The title says nothing about the picture. It should show the Title or Caption attribute as shown in WordPresses media gallery.
September 25, 2014 at 8:18 pm #32024@alyssa-buddyboss
AlyssaParticipant@mth75 in buddyboss-media/assets/js/buddyboss-media.min.js find this:
.find(".activity-header")
replace with this:
.find(".activity-inner")
September 26, 2014 at 8:54 am #32029@mth75@TJ
I tried your suggestion, doesn’t work.
September 26, 2014 at 9:33 am #32030@alyssa-buddyboss
AlyssaParticipant@mth75 that is the only solution I have please make sure you don’t have any conflicting caching plugins etc.
September 26, 2014 at 9:37 am #32031@mth75@TJ,
Tried with deleting local cache and cache plugins, doesn’t work.
September 26, 2014 at 9:58 am #32033@alyssa-buddyboss
AlyssaParticipantAre you certain you edited the .min.js file
September 26, 2014 at 1:21 pm #32035@mth75@TJ Very certain. Did you test this solution (just to be certain?).
September 26, 2014 at 3:05 pm #32037@alyssa-buddyboss
AlyssaParticipantYea, I did. Let me check if we can remove the if statement. I’ll follow up later as I’m at work now.
October 5, 2014 at 12:41 pm #32245@mth75@TJ
The solution DOES works for pictures on the wall (when opened in PhotoSwipe). Photo’s opened from a gallery page still shows the: [user] post a new picture (i.e.) 1 week, 1 day ago.
I’ll try to figure this out, how can I move this customisations to my child theme?
Regards,
Marc
October 12, 2014 at 9:27 pm #32506@alyssa-buddyboss
AlyssaParticipant@mth75 beyond that I’m not quite sure what else to try. That is the only location of the text.
November 9, 2014 at 6:04 pm #33321@
Anonymous@mth75 @tjchester In 1.0.7, available now, the text a user enters into the form is used as the photo title in Photoswipe. If no text is entered, it falls back to “user uploaded a photo [timestamp]”
November 11, 2014 at 4:45 pm #33356@mth75@Michael @tjchester Thx. However, a picture opened from the gallery (for example: http://www.starry-night.nl/gallery/ ) still shows: “user uploaded a photo [timestamp]” Showing the form info is more important when opened in the gallery (no reference to what a user is seeing).
Regards,
Marc
November 12, 2014 at 1:17 pm #33379@
Anonymous@mth75 Yep, this is a known issue. We released the plugin without that yet implemented, because we fixed the iOS upload bug which was high priority and I wanted to get that out to everyone. This will be added in another release.
- The question ‘Photoswipe picture title’ is closed to new replies.