Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1053286
    LotusFJ
    Participant

    Hi,

    I’m using the Integrity Light theme. I’ve followed all the instructions on setting up the Gallery the way the X Theme would have it setup (not utilizing the WP Gallery shortcode), and I can’t seem to figure out why when i set the featured image, that image then disappears from the gallery.

    I did a search in the forum and found this snippet to be added to the functions.php, but this didn’t help either.

    if ( $attachments ) {
    echo ‘<div class=”x-flexslider x-flexslider-featured-gallery man”><ul class=”x-slides”>’;
    foreach ( $attachments as $attachment ) {
    echo ‘<li class=”x-slide”>’;
    if ( $fullwidth ) {
    echo wp_get_attachment_image( $attachment->ID, ‘entry-fullwidth’, false, false );
    } else {
    echo wp_get_attachment_image( $attachment->ID, ‘entry’, false, false );
    }
    echo ‘‘;
    }
    echo ‘</div>’;
    }

    Thoughts?

    URL to view Portfolio is: http://lotusjewelers.staging.wpengine.com/custom-design/

    There are 2 products setup and both have the same issue.

    #1053652
    John Ezra
    Member

    Hi there,

    Thanks for writing in! This maybe a bug or something may be conflicting. Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1054693
    LotusFJ
    Participant
    This reply has been marked as private.
    #1055288
    Friech
    Moderator

    Hi There,

    Thanks for the credentials, but would you mind to clarify how can we replicate the issue? Did check your portfolio posts and some of your recent post does not have a featured image assign on them. Please clarify.


    screenshot

    Thanks.

    #1055571
    LotusFJ
    Participant

    Yup, I’m in the process of building out the galleries so some won’t be completed.

    When creating the gallery, I’ve been following these steps:

    1. Create New Portfolio item
    2. Select Add Media
    3. Select Upload Files Tab
    4. Click Select Files
    5. Find files locally & click open
    6. At this point I either select “Uploaded to this post” from the drop down to reogranize the order, or just close the Media Screen
    7. Select Portfolio Item Settings options – Gallery
    8. Set Featured image (I’m using the same image file that is also to be displayed in the gallery)
    9. Click Publish post

    You will immediately notice the image that is set as the featured image is not showing inside of the gallery. Almost like the portfolio item is confused on if it should show it twice.

    I’ve tried over and over thinking I’m doing something wrong, and maybe I am?

    If you look at the posts that I already have set the featured images on, you will see that that featured image is not being displayed within the gallery itself.

    Does this help?

    #1055634
    LotusFJ
    Participant

    I should also mention, your screenshot is of a page I’m going to be deleting, I’ve decided to separate the categories to their own pages, so you’ll notice the parent menu item Jewelry is now a dropdown with the submenu pages containing the portfolios/portfolio items. The only page that isn’t populated totally is the Rings page now.

    #1055864
    Rad
    Moderator

    Hi there,

    It’s default feature, gallery image that match featured image will be excluded. Hence, you’ll need to re-upload the same image for the featured image. Uploading it will create different IDs and name even if they are the same/exact image.

    Thanks!

    #1056229
    LotusFJ
    Participant

    Yeah, that’s a band-aid work-around I’ve already pursued that I don’t think makes much sense being that you now start to have duplicate content (even though the name/id is different), and furthermore, upping the data stored on the site server affecting page load times, etc. With a smaller site I don’t think this would be much of an issue, but if you have a larger site (and this site will grow with inventory), I don’t see this as a solution. This is a hiccup in the way the gallery is recognizing pulling information, and then a hiccup with that gallery interacting with the featured image & recognizing it is using the same image and deleting it from the gallery.

    #1057010
    Rad
    Moderator

    Hi there,

    It will only affect the disk usage which is just kilobytes depending on your image size. It doesn’t mean that you have duplicate uploads, that they will all be loaded when your site loads.

    Images will be loaded only when they are called. If the gallery is called, then the image uploaded for featured image isn’t. If the featured image is called then gallery isn’t. X theme doesn’t have any template that calls both galleries and featured at the same time unless you customize it.

    For example, in this image,

    It’s clearing trying to load just a featured image, not a gallery. Even if you have hundreds of duplicate image but if they aren’t called, then it will not load. The only affected is disk size.

    Wordpress is even duplicating media libraries automatically, for example, upload one image and it will generate 17 images from it to match up all registered image sizes.

    It’s intended feature since WordPress itself has no advance management of images, but I’ll forward this as feature request,

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1053286 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>