Replies
- Venutius on July 7, 2025 at 10:30 am in reply to: Error when saving my gallery settings, for photo #55619
I’ve updated the file. I’ve performed a few saves, no errors.
- Venutius on July 4, 2025 at 9:08 am in reply to: Adding a data-capture step into the front-end photo-upload shortcode based flow #55604
Yes, I’m now fully into v2.0. It seems pretty much rock solid. That issue I had with local storage and the settings page. I’m now pretty sure it was another plugin knocking out my local storage that was the issue. I think it was misbehaving, and completely filling up my local storage, and that sent JS overall into a tailspin. The problem with that error, was I could deactivate the plugin in a group, the problem would go away, but did not come back as soon as the plugin was reactivated, so very difficult to track down.
But yes, this part of the orchestration is about to get a good test, I think. And once I have completed my work on photo galleries, I then want to look at video galleries. I’m planning to write an automatic GDPR compliance plugin for MediaPress. I have just done the same with a youtube plugin, and personally cannot launch video galleries without it.
- Venutius on July 4, 2025 at 3:57 am in reply to: How can I best achieve my perfect single photo view? #55601
Thanks Brajesh, I shall check it out. I intended to spend all day on mediapress, but failed 🙂
- Venutius on July 2, 2025 at 11:22 am in reply to: How can I best achieve my perfect single photo view? #55590
Things are going very well, Brajesh 🙂 I’ve found almost all of my typos and incorrect assumptions. Lightbox and overloads are now stable.
There is still an issue regarding what happens when you click on the image when viewing it in the lightbox. Currently, this seems to fail to find any template, and falls out to a wordpress last ditch attempt to provide a template for the image. I can manipulate this by changing the code in the wordpress file directly, so I have a temporary fix in place. I think it may well be that I’m not giving the shortcode all the info it needs. The lightbox view is all I need, though, so it’s not a high priority. Having said that, I’m now going to check the shortcode docs.
- Venutius on June 28, 2025 at 7:20 am in reply to: How can I best achieve my perfect single photo view? #55578
I found I need to make some changes to Mediapress. I wanted to have WordPress Comments as the public point of interaction for images, but also, keep the BP activity stream as a private – site member only, point of discussion.
I can also see that WordPress on my site does not recognise the Mediapress Images as valid attachments, and the reason I’m ending up with a medium image when the lightbox image is clicked, is because that is a WordPress fallback default. I ended up directly editing that fallback to show large, and include my zoooom class.
This means that I now have a lightbox page that looks and works as I require.
I then started thinknig about other features I need. As these are public images, it is clear, they need to have the Alt text set. Whilst this can be set by editing the attachment in WordPress Media, personally I do not find that a useful use case, and so I am starting to add the code needed to include the alt tsag in the Mediapress Gallery bulk editor, and also the front-end edit gallery shortcodes etc.
I’ve added a couple of new bulk actions to automatically copy either the title, or the description to the alt field.
Once I’ve done this, I will look into adding GIS information.
I have also added a number of taxonomies to the images, and am looking at the differing ways these can be used.
In my site galleries, there are often several photos of the same part of the building, for example. I would like to be able to group those photos into a collection that has its own comment stream. I can see that mpp attachments are hierarchical, and the gallery is the parent. I’m wondering about setting an image as the parent for a collection of images, and so deliver that commentable collection in that way?
- Venutius on June 17, 2025 at 5:46 pm in reply to: How can I best achieve my perfect single photo view? #55548
I can over-ride the lightbox/photo.php
However, it seems that the default photo.php is not being loaded. the image that appears does not have the mpp classes.
This is where we started, but I’m pleased to have the lightbox up and working. Is there any way I can zoom that image?
- Venutius on June 17, 2025 at 5:23 pm in reply to: How can I best achieve my perfect single photo view? #55547
My last issue is that I’m trying to overload the single image view – the one that appears when you click on the image in the lightbox, the one you see if you turn the lightbox off and the gallery thumbnail is clicked from the shortcode gallery, could you tell me which file I should be over-riding for that?
- Venutius on June 17, 2025 at 5:19 pm in reply to: How can I best achieve my perfect single photo view? #55546
That one I think is my bad, I did not set the shortcode atts, so that one now works too.
- Venutius on June 17, 2025 at 5:12 pm in reply to: How can I best achieve my perfect single photo view? #55545
OK, back to the lightbox problem. It seems that the check for settings for the lightbox always returns false. and in that check in grid-post, if I make the answer to always be true, then I see the lightbox.
- Venutius on June 17, 2025 at 5:06 pm in reply to: How can I best achieve my perfect single photo view? #55544
Your suggestion works, though 🙂