Viewing 15 replies - 1 through 15 (of 28 total)
  • Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Thank you for your advice.

    I do not know because there is no WordPress4.0 yet.
    My environment is WordPress3.9.2, in theme Twenty Fourteen. Standard images on a pages work.

    Thread Starter a4jp

    (@a4jpcom)

    Hello Katsushi Kawamori,

    I’m testing the 4th beta version of WordPress that will be released hopefully this month (in about a week). And it looks very nice.

    For some reason the a.boxersandswipers.cboxElement is only 19px high but not the height of the image for galleries so after looking at an image with a popup and you close it by clicking on the side overlay there is a red outline where you can see the clicked div (gallery image), until you click somewhere else and the focus changes.

    You can see the problem here: https://a4jp.com/1/glen/photography/

    For the popup problem the class isn’t getting added to the standard images for some reason. I’m using colorBox for the PC site.

    If you update the plugin to fix the standard image popup could you also add a reset default value to each box as well?

    For example:

              ┌──────┐ ╔═════════════╗
    maxWidth  │97%PX│ ║DEFAULT VALUE║
              └──────┘ ╚═════════════╝
              ┌──────┐ ╔═════════════╗
    maxHeight │97%PX│ ║DEFAULT VALUE║
              └──────┘ ╚═════════════╝
              ┌──────┐ ╔═════════════╗
    top       │flase│ ║DEFAULT VALUE║
              └──────┘ ╚═════════════╝
              ┌──────┐ ╔═════════════╗
    speed     │350  │ ║DEFAULT VALUE║
              └──────┘ ╚═════════════╝
           ┌─────────────────┐╔═════════════╗
    current│{current}/{total}│║DEFAULT VALUE║
           └─────────────────┘╚═════════════╝
    ╔═══════════════════════════╗
    ║RESET ALL TO DEFAULT VALUES║
    ╚═══════════════════════════╝

    At the moment, if I delete a value then save it it goes away but I can’t check what the previous value was.

    Your coding is really nice and thank you so much for providing really useful plugins.

    I will send a message through your site to help you with English for the menus and you website if you like ^^

    Regards,

    Glen (Sapporo, Hokkaido, Japan)

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Hello Glen

    I saw your site. I saw the source, but is no problem option of Javascript. In addition, there was no problem granting a class to <a> tag of the image. I appeared to be moving normally, but will the difference for you.
    Maybe, version of colorbox might cause.
    version of colorbox is using the 1.4.37, but it seems to be the current 1.5.4. I will fix in the next version along with the reset to the default value of the option settings.

    Katshishi Kawamori(Chiba, Japan)

    Thread Starter a4jp

    (@a4jpcom)

    Thank you very much for checking so quickly.

    The class doesn’t attached to the image on line 374 of the page (the picture of the lady in black and white).

    <p><a href="https://a4jp.com/1/glen/wp-content/uploads/2014/08/DSC08642.jpg"><img class="aligncenter wp-image-56 size-full" src="https://a4jp.com/1/glen/wp-content/uploads/2014/08/DSC08642.jpg" alt="Sapporo Portrait Photography" width="3000" height="2000" /></a></p>

    But you can see in the randomized gallery everything is working below line 385.

    <figure class='gallery-item'>
    			<div class='gallery-icon portrait'>
    				<a class="boxersandswipers" title="IMGP3758-034b" href='https://a4jp.com/1/glen/wp-content/uploads/2014/08/IMGP3758-034b.jpg'><img width="150" height="150" src="https://a4jp.com/1/glen/wp-content/uploads/2014/08/IMGP3758-034b-150x150.jpg" class="attachment-thumbnail" alt="IMGP3758-034b" /></a>
    			</div></figure>
    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    I understand that you are saying you. I had successfully able to create the same situation in my environment.

    When the gallery and links to media files usually are mixed within a page, it will be added to the class of <a> tag in preference to the gallery. Please wait for a while so I take time to fix this problem.

    Problem Solution of the interim, please add class = "boxersandswipers" manually to <a> tag.

    Thread Starter a4jp

    (@a4jpcom)

    Okay ^^ Thank you for that.

    If you need any of the English instructions checked send a message anytime. I work from home so I can usually reply pretty quickly.

    Thread Starter a4jp

    (@a4jpcom)

    I noticed if I only have pictures on a page the popup works. Maybe the gallery is doing something weird to the code.

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Fixed problem of when the gallery and links to media files usually are mixed within a page. version 1.19

    The default value for the option setting uses the same value as set in the “color box with (description)”. Please be patient by using it for a while.

    Thread Starter a4jp

    (@a4jpcom)

    With the new version 1.20, the regular photos work but now the galleries don’t work this time.

    Thank you for adding the top “default settings” button. This will be very useful if I mix up, forget or accidently delete all the settings. ^^

    Another thing I noticed is that the loading circle animation of the PhotoSwipe program is blurry. Maybe code to halve the size of it would easily fix this.

    I will make some div code to send you to replace the older table code. The table code works but everything gets messy on an iPod or iPhone because the screen is smaller.

    Regards,

    Glen

    Thread Starter a4jp

    (@a4jpcom)

    https://pastebin.com/t5f2fAbV

    I edited one section of the settings area so it works better on smartphones. It is made of divs instead of tables.

    Thread Starter a4jp

    (@a4jpcom)

    Hello Katsushi.

    Everything is almost working perfectly ^^ I think I found why the kickboxer’s image doesn’t work but other images do now.

    The file names of the kickboxer were changed once by a plugin called Media File Renamer by Jordy Meow. It changes filenames to lowercase characters.

    Maybe your plugin is case sensitive and it is trying to link to files in the database that still have mixed case letters.

    Regards,

    Glen

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Hello Glen.

    I think that it is not a problem is happening in the difference between the upper and lower case letters.

    Please try.
    inc / BoxersAndSwipers.php
    140 lines to 144 lines

    140: // For Gallery
    141: // if ($ boxersandswipers_apply ['gallery'] [$ device]) {
    142:      add_shortcode ('gallery', array (& $ this, 'file_gallery_shortcode'));
    143:      add_filter ('post_gallery', array (& $ this, 'gallery_filter'));
    144: // }

    Please try to comment out the line 144 and line 141.

    Thread Starter a4jp

    (@a4jpcom)

    Hi Katsushi,

    I commented out the code from the latest plugin on line 151 and 154 in Dreamweaver but it didn’t make any changes to the kickboxer’s image.

    Regards,

    Glen

    Thread Starter a4jp

    (@a4jpcom)

    If I make that coding change the images end up breaking the grid format as well.

    I think I’ll just reload the images or should I keep one of the files for testing?

    I can see a new error when I check for errors in Chrome. Uncaught SyntaxError: Unexpected token ILLEGAL.

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    I tried to coding in a different perspective at version 1.26.
    Please try.

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘The galleries on pages work but standard images on a page don't.’ is closed to new replies.