This topic contains 18 replies, has 4 voices, and was last updated by  Norris 3 months ago.

PhotoSwipe options

  • Post count: 6

    Hello,

    how is it possible to change the settings for the PhotoSwipe gallery type?

    On the hp of PhotoSwipe i saw that it’s possible to change between all controls and minimal. I want to hide this share feature.

    And second question, is it possible to turn off the zoom in function?

    Post count: 6495

    Hi,

    You hide the share button by adding this code to Appearance > Customize > Additional CSS:

    The PhotoSwipe options are coded into the theme (in “app.js”, “build.js”) so we don’t recommend you directly edit those theme files.

    Post count: 6

    Ok thanks, it worked!

    Post count: 18

    I have issue with photoswipe gallery:

    If you select any image such as this:
    https://photo365.by/portfolio/lifestyle/#&gid=1&pid=4
    When you click “Share on Facebook”,  link to this photo will be copied to Facebook, but with the title image of the album in which this photo is displayed.

    I need to make sure that Facebook uploaded exactly selected to share image.

    All the same to do for Twitter
    (link to Pinterest is working right)

    Another problem for images that consists all description data. When I want to share this images it put additional code text to social media

    The ideal option would be if I know where to edit php, css and js and anything else is needed in order to change these parameters in the future by myself (if I want to add some more social network)

     

    • This reply was modified 6 months ago by  Ivan L..
    Attachments:
    You must be logged in to view attached files.
    Post count: 18

    And another thing

    alt is not an alt, but should be

     

     

    Attachments:
    You must be logged in to view attached files.
    Post count: 6495

    Hi,

    When you click “Share on Facebook”, link to this photo will be copied to Facebook, but with the title image of the album in which this photo is displayed.

    That happens because Facebook doesn’t have an API to tell it which image/text it should use, so there’s not much we can do about that. I think this is a plugin that allows you to optimize your Facebook sharing, but I haven’t tried it. I’ve seen other people use it with some level of success: http://wordpress.org/plugins/wonderm00ns-simple-facebook-open-graph-tags/

    Another problem for images that consists all description data. When I want to share this images it put additional code text to social media

    And another thing
    alt is not an alt, but should be

    I’ll add both of these to our to-do list, and if the developer confirms they’re bugs then they’ll be fixed in the next theme update.

    Post count: 18

    Hello, Daniel

    It’s loks simple to add another sharing button on PhotoSwipe option page:

    http://photoswipe.com/documentation/options.html

    but in Horizon it’s wery difficult

    The PhotoSwipe options are coded into the theme (in “app.js”, “build.js”) so we don’t recommend you directly edit those theme files.

    I couldn’t find build.js

    In app.js I couldn’t find any information about sharing buttons

    Let me now where I can add another sharing button

    Post count: 6495

    The theme and the Portfolio plugin is constantly being updated, so any customization made to the files will have to be redone after each update and sometimes the new version of the files contains a change in the structure of the file which will mean that the customization itself won’t work anymore and will have to be altered as well. This is why we don’t recommend changes to the theme files. The PhotoSwipe options I mentioned 3 months ago were move to the Portfolio plugin’s files instead (/wp-content/plugins/photography-portfolio/public/build/) in the “libs.js” file.

    Post count: 18

    libs.js consists lightGallery options only

    I need customize PhotoSwipe

    I’ll add both of these to our to-do list, and if the developer confirms they’re bugs then they’ll be fixed in the next theme update.

    When it’s will be done?

     

    Post count: 6495

    The libs.js file does contain the share buttons of PhotoSwipe.

    When it’s will be done?

    It might take somewhere from a few days to a few weeks, depending on the developer’s workload.

    Post count: 18

    The libs.js file does contain the share buttons of PhotoSwipe.

    where? I can’t find

     

    Post count: 6495

    Inside that file. You can use http://unminify.com/ to make it more readable.

    Attachments:
    You must be logged in to view attached files.
    Post count: 18

    PhotoSwipe haven’t possibility share to googlePlus. It’s lightGallery options

    In this file (libs.js) I can’t found any PhotoSwipe controls

    I need customize PhotoSwipe

    Post count: 6495

    My bad, it’s in “photoswipe-ui.js” from /wp-content/plugins/photography-portfolio/public/build/libs/

    Post count: 18

    I found one more bug

    I haven’t iPhone, but on android phones in different browsers when you try to toggle fullscreen image its works with zoom together.

    every time I press toggle fullscreen image is zooming in, and I need to zoom out it by double typing on screen.

    when I need to zoom out, I press toggle fullscreen again and image is zooming in again

    try it on my site:

    https://photo365.by/portfolio/stydiynaya-semka/#&gid=1&pid=1

    or your demo:

    http://horizon.bycolormelon.com/portfolio/drive/#&gid=1&pid=2

    and on photoswipe page:

    http://photoswipe.com/#&gid=1&pid=1

     

     

    • This reply was modified 6 months ago by  Ivan L..

You must be logged in to reply to this topic.