Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #1136154

    Hallo Zusammen!

    Auf zwei verschiedenen Webseiten habe ich folgendes Problem. Fotos werden in der Lightbox immer zwei mal angezeigt. Erst groß und dann kleiner.

    Es ist etwas anstrengend, wenn man mehrere Beiträge und Fotos anschaut.

    Beispiel 1: https://www.stawi.gallery/2019/08/schloss-moritzburg/

    Beispiel 2: https://stawi.pictures/2018/01/03/graffiti/

    Die Fotos werden ganz normal in Medien hochgeladen und mit Imagify komprimiert. Auch wenn alle Plugins inaktiv sind, besteht der Fehler weiter. Comet Cache wurde erst vor kurzem installiert und das Problem bestand schon vorher.

    Ich Danke jetzt schon für Ihre Unterstützung.

    Mit freundlichen Grüßen

    Matthias Stawinski

    • This topic was modified 2 months, 1 week ago by  Stawi66.
    • This topic was modified 2 months, 1 week ago by  Stawi66.
    • This topic was modified 2 months, 1 week ago by  Stawi66.
    #1136582

    Hello everybody!

    On two different websites I have the following problem. Photos are always displayed twice in the lightbox. First big and then smaller.

    It is a bit exhausting to look at several posts and photos.

    Example 1: https://www.stawi.gallery/2019/08/schloss-moritzburg/

    Example 2: https://stawi.pictures/2018/01/03/graffiti/

    The photos are uploaded to media as normal and compressed with Imagify. Even if all plugins are inactive, the error persists. Comet Cache was recently installed and the problem was already there.

    I already thank you for your support.

    Yours sincerely

    Matthias Stawinski

    #1136688

    Hi Matthias Stawinski,

    Best regards,
    Victoria

    #1136834

    Hi Victoria,

    please check it again. I give your two links.

    Best regards

    Matthias

    #1137830

    Hi Matthias,

    The images show up twice because lightbox class is added to the thumb image too.

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1137835

    Hi Victoria!

    Thank you, I have set up an account for you

    Best regards

    Matthias

    #1137945

    Hi Matthias,

    Please make that account admin, I cannot see anything at the moment.

    Best regards,
    Victoria

    #1138013

    Hi Victoria,

    Oh sorry. My mistake.

    Now you are admin.

    Best regards

    Matthias

    • This reply was modified 2 months ago by  Stawi66.
    #1139017

    Hi,

    Thank you for the update.

    Did you add this css code?

    .big-preview.single-big {
        display: none;
    }
    

    It hides the actual featured image of the post.

    Best regards,
    Ismael

    #1139230

    Hi Ismael,

    Thank you for your recommendation.
    Unfortunately the problem persists.

    Best regards

    Matthias

    #1139814

    Hi,

    Thank you for the update.

    Did you remove the css code and remove the image in the post? The image in the lightbox is duplicated because you’ve set the featured image and added the same image in the post content.

    Best regards,
    Ismael

    #1140002

    Hello Ismail!

    You have admin access and can look into my css style. I tried it with and without.

    Why should I remove the post picture? I need it on the homepage.

    Sorry, I think so we do not get any further. That must be a bug in your theme.

    It is completely incomprehensible why all images are displayed twice.

    Best regards

    Matthias

    #1140123

    Hi,

    We’ve just explained the issue. There are two images in the lightbox because it groups the featured image and the image that you manually added in the post. To prevent the duplication, we removed the featured image markup in the template. (see private field)

    Is that what you’re after?

    Best regards,
    Ismael

    #1140142

    Hi!

    Thank you for your feedback signal. Is that what you’re after? Yes and no. Currently I can not understand where the code was changed.

    Yes, only one Picture on contribution pages in the lightbox. Well.

    No, now the preview picture of the post in the blog posts is missing.
    Look here: https://stawi.pictures/category/island/

    So I do not like the solution.

    best regards

    Matthias

    #1140471

    Hi!

    What happens now?

    I do not want duplicate pictures in the lightbox.

    I would like to preview pictures in the posts.

    And please report what has been changed.

    Best regards

    Matthias

    • This reply was modified 1 month, 4 weeks ago by  Stawi66.
    #1140815

    Hi,

    Thank you for the update.

    We revert the modifications in the loop-index.php file to bring back the featured image. And to prevent duplication in the lightbox, we removed the “post-entry” and “#main” selectors in the lightbox group parameter, then replaced them with “entry_content” and “blog_meta”. You’ll find the modification in the js > avia-snippet-lightbox.js file:

    groups			:	['.entry-content', '.blog-meta', '.avia-slideshow', '.avia-gallery', '.av-horizontal-gallery', '.av-instagram-pics', '.portfolio-preview-image', '.portfolio-preview-content', '.isotope', '.sidebar', '.main_menu', '.<a href='https://refer.wordpress.com/r/84/woocommerce/' target='_blank' rel="nofollow">woocommerce</a>-product-gallery'], 
    			autolinkElements:   '.small-preview, .entry-content a[href$=jpg], a.lightbox, a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href*=".jpg?"], a[href*=".png?"], a[href*=".gif?"], a[href*=".jpeg?"], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"], a[href*="iframe=true"]',
    

    Best regards,
    Ismael

    #1140833

    Hi!

    Thank you for your help and support.

    Now the page works as I wish.

    best regards

    Matthias

    #1140925

    Hi Matthias,

    Glad you got it working for you with Ismael’s help! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 18 posts - 1 through 18 (of 18 total)

You must be logged in to reply to this topic.