Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    When I browse the source code for your site, I see that there is no markup whatsoever generated by Photonic. This generally means that the theme you are using, or another of your plugins is also defining the gallery shortcode, and that is conflicting with Photonic. This is pretty easy to resolve, though, and the very first option within Photonic addresses it. Go to Photonic → Settings → Generic Options → Generic Settings → Custom Shortcode, and provide a shortcode name of your choosing. You will be able to use it without it conflicting with anything else.

    Thread Starter navindesigns

    (@navindesigns)

    Ok i changed the shortcode to ohsnapselfie

    what should my shortcode be now?

    Plugin Author Sayontan Sinha

    (@sayontan)

    Not following you. What shortcode have you got on that page, to pull your galleries?

    Plugin Author Sayontan Sinha

    (@sayontan)

    BTW, if you want to display your albums, the shortcode format should be similar to the one in the first example here, except that instead of gallery you will be using the shortcode you set up.

    Thread Starter navindesigns

    (@navindesigns)

    I am sorry but it is still not working

    On the settings page, I changed the custom shortcode to ohsnapselfie

    Here is my shortcode in my page
    [gallery type='ohsnapselfie' view='albums' nick_name='nick-name']

    Here is link
    https://109.199.127.133/~beaut891/ohsnapselfie.com/smugmug-test/

    Please let me know what I am doing wrong? I am using the popular ENFOLD wordpress theme

    Plugin Author Sayontan Sinha

    (@sayontan)

    Please see my previous reply, and refer to the first example in the documentation link I provided. The first example says:

    [gallery type='smugmug' view='albums' nick_name='nick-name']

    In your settings you have defined a custom shortcode, ohsnapselfie, and your nickname is ohsnapselfie, so all you should be doing is:

    [ohsnapselfie type='smugmug' view='albums' nick_name='ohsnapselfie']

    Also, if you see the screenshots on the plugin’s distribution site on WP, or in your WP dashboard under Photonic → Getting Started, you will see instructions to help you with shortcode generation. Please follow those. When you are editing a post, you can click on “Add Media”, then click on the tab that says “Photonic”, then on the link that says “SmugMug”.

    Thread Starter navindesigns

    (@navindesigns)

    Thank you.

    I have another question. Is it possible to when an album is clicked on, it takes the user directly to the smugmug website instead of opening the images in a lightbox on the current site?

    Thanks

    Plugin Author Sayontan Sinha

    (@sayontan)

    Hi,
    The intent of Photonic is to keep your visitors on your site to the extent possible, so what you are asking for is not within the intended design.

    But I have a question for you – if you want your site’s visitors to go to SmugMug, why would you use a plugin for it? Why not use simple <a> and <img> tags and construct your markup by hand?

    Thread Starter navindesigns

    (@navindesigns)

    Thanks

    One final request

    I would like to make the thumbnail sizes larger

    Ideally, I would like the thumbnails sizes on the homepage to look like the instagram block thumbnails sizes that is located right above the footer.
    screenshot – https://imgur.com/a/hds76

    currently, it looks like this

    View post on imgur.com

    i am using the following shortcode
    [ohsnapselfie type=”smugmug” view=’albums’ nick_name=’ohsnapselfie’ layout=’no-strip’ caption=’title-desc’ thumb_size=’Thumb’ main_size=’X3Large’ columns=’6′ count=’6′ more=’VIEW ALL PHOTOS’]

    My live site – https://109.199.127.133/~beaut891/ohsnapselfie.com/

    Plugin Author Sayontan Sinha

    (@sayontan)

    You are tied to the sizes that SmugMug provides. However, you can consider one of the alternative layouts such as justified grid or Masonry, which gives larger images.

    Thread Starter navindesigns

    (@navindesigns)

    ok I got that but all i want is 4 large thunmails that looks similar to my instagram block below

    I am trying this shortcode
    [ohsnapselfie type=”smugmug” view=’albums’ nick_name=’ohsnapselfie’ layout=’no-strip’ caption=’title-desc’ layout=’square’ columns=’4′ count=’4′ more=’VIEW ALL PHOTOS’]

    but it is coming out like this
    screenshot – https://imgur.com/a/qQRef

    why is that?

    Plugin Author Sayontan Sinha

    (@sayontan)

    I am not seeing what you have in your screenshot on your site. Did you still need help with this?

    Thread Starter navindesigns

    (@navindesigns)

    Yes I still need help

    it is located right below my slider area (right below the text called LATEST SNAPS)

    all i really want to achieve is 4 large thumnails instead of what you see there

    what is the shorcode to achieve that? to match the look and layout of my INSTAGRAM block at the bottom of the site (above the footer)

    Plugin Author Sayontan Sinha

    (@sayontan)

    I did mention in one of my posts above that you are constrained to what SmugMug offers. For a listing of SmugMug’s standard sizes see here. SmugMug only offers you two sizes that are square – Tiny and Thumb, and of those, Thumb is the larger one and is only 150px wide. You are trying to compare Instagram’s sizes to SmugMug’s, and in Instagram a 640px square (or a 612px square) image is always available to you by default, but SmugMug doesn’t give you this.

    Note that Photonic has nothing to do with the sizes offered by either SmugMug or Instagram. Also, Photonic does not try to scale up an image for you using CSS, as it causes loss of resolution. If you were to try and display a 150px image at 400px, it will look really blurry.

    If you really want to use a custom size, you will have to tinker with code. For that, you will have to open up the file, photonic/extensions/Photonic_SmugMug_Processor.php, and look for this line (currently line 541 in the file):

    $thumbURL = $highlight->Image->Uris->ImageSizes->ImageSizes->{$short_code['thumb_size'].'ImageUrl'};

    Now, let’s say in your options or in the shortcode you have used the size, “Thumb”, and you really want a size 400×400 (width x height). In that case, you will add this after the above line:

    $thumbURL = str_replace('/Th/', '/400x400/', $thumbURL);
    $thumbURL = str_replace('-Th.', '-400x400.', $thumbURL);

    Once you do this, your thumbnails will come out at 400×400.

    The disadvantage with this approach is that when the plugin is updated, you will lose this change. I can add a hook for this, but it would still require you to write code in a child theme to handle this.

    Thread Starter navindesigns

    (@navindesigns)

    Thanks

    One more question

    On my full gallery page
    https://109.199.127.133/~beaut891/ohsnapselfie.com/photo-gallery/

    why are the thumbnails/titles not aligning properly?

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Smugmug galleries not showing up’ is closed to new replies.