Smugmug galleries not showing up
-
I followed all your directions but my gallery is not showing up on the front end.
My site – https://109.199.127.133/~beaut891/ohsnapselfie.com/smugmug-test/
My goal is to have my site site pull in all these galleries
https://ohsnapselfie.smugmug.com/Please help
Thanks
-
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.Ok i changed the shortcode to ohsnapselfie
what should my shortcode be now?
Not following you. What shortcode have you got on that page, to pull your galleries?
- This reply was modified 7 years, 4 months ago by Sayontan Sinha.
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.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
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 isohsnapselfie
, 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”.
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
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?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/hds76currently, it looks like this
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/
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.
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/qQRefwhy is that?
I am not seeing what you have in your screenshot on your site. Did you still need help with this?
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)
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.
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?
- The topic ‘Smugmug galleries not showing up’ is closed to new replies.