BuddyDev

Search

How can I best achieve my perfect single photo view?

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on #55581

    Hi George,
    Thank you for the reply.

    I am sorry, I have lost the track of things and will need your assistance a bit about this topic(see the bottom).

    MediaPress media is a valid WordPress attachment. The reason you see issue with resolution is we register custom image sizes which are not known to WordPress.

    If you register custom image size in WorddPress(add_image_size), WordPress generates the sub sizes for all images, irrespective of the context.
    We do not want WordPress to generate our custom image sizes for non MediaPress uploaded images. That’s why these sizes are not registered as standard and only used inside MediaPress.

    Depending on your use case, you can pass MediaPress registered image size to the WordPress attachment functions to display it properly.

    – You should be able to display GIS using exif data of the original image(exif is saved by WordPress in meta)
    – I have not explored Media variations and how that would Work for image type but WordPress does support similar behaviour for video(and video thumbnail).

    I will be happy to assist you with your current quest of using WordPress comments.

    Can you please create a new topic, link this topic and provide the following details:-
    – Is it multisite
    – are you using MediaPress 1.5.x or 2.x branch?
    – Are you using it for BuddyPress or sitewide
    – Do you want o use comments for Sitewide gallery/media or User’s profile media
    – How are you listing media(steps/process) and how the current implementation of your overridden template works(MediaPress supports custom media/gallery views and using external template in these if needed).

    – Do you have a staging site where I can see the expected workflow. I am working to get MediaPress back on track and would love to assist yo with it.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 475
    Venutius on #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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on #55597

    Hi George,
    Thank you.
    I am relived to know that you are going in the right direction.

    Depending on the context, the lightbox will load one of these.

    gallery/media/views/lightbox.php
    gallery/media/views/lightbox-comment.php

    Please edit these files and remove the link in it and it will not show the linked version.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 475
    Venutius on #55601

    Thanks Brajesh, I shall check it out. I intended to spend all day on mediapress, but failed 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on #55603

    🙂 I am looking forward to your explorations.

You must be logged in to reply to this topic.

This topic is: not resolved