19 comments found.
Hi there, your plugin looks very cool
still workd on 2025 on last versioon on wordpres??
Thanks for the good job. I love this gallery!
You’re welcome!
Hello there, I have a custom build website and I need to know would I be able to add new images, change the ones I have and delete some, etc. with your plugin.
The gallery is a jQuery plugin. To change the content of the gallery, you have to edit the gallery HTML code.
Hello! Thanks for a greate plugin!
Please help to solve questions:
1 – How can I close/destroy sharpGallery from external code/my custom javascript function? (I hide CLOSE button and want close gallery another way)
2 – How can I configure thumbs to show in single line with scroll?
Thank you
You’re welcome!
Regarding your questions:
1. Do you mean to close an image that is open?
The gallery does not have an image close method but you can trigger a click event on the image close button like this:
jQuery( ".sharp-gallery .sg-close" ).trigger( "click" );
Or do you mean to destroy the gallery, to rebuild it later? If so, you can use the “destroy” method:
jQuery( ".sharp-gallery" ).sharpGallery( "destroy" );
2. The gallery was not designed to have the thumbs in a scrolling line, so that is not possible to do.
Good luck with your sales
Hi, nice looking script..how do i read in the images – i have hundreds, can i just specify a folder. I also need to display the image filename eg….file0001.jpg ( not the jpg part) and not the meta title info…. as this is how the images are supplied to me and i have way to may to rename them all
could i use your script ?
To automatically add all of your images from the folder you can use a server-side language, such as PHP, to generate the HTML code of the gallery with all of the images included.
Do you know if the full size images get indexed by Google? Since the only reference to the URLs and alt tags is via the data attributes in the .sg-data section. Getting the fullsize images indexed by Google is an important requirement for our website, so it would be great if you have the answer to this.
To be sure they are indexed by Google, I can add them either as “src” attributes (which will not be shown) or as hidden “img” elements. I am going to look into this and find out what works best.
I will let you know once the update is live.
Ok great, thanks! My own solution for now is to just add a noscript tag containing img elements to the fullsize images, that should get indexed just fine.
I did some research and I have found that many people recommend using noscript tags, as you are doing. Here is a presentation from a Google developer from Google I/O 2018:
https://www.youtube.com/watch?v=PFwUbgvpdaQ&feature=youtu.be&t=32m59s
This seems to me like the best approach currently. You are on the right track, just add the noscript tags and the images should be indexed well.
Good to know, thanks for looking in to this!
A new update was implemented, version 2.1 is live:
- Fixed an issue that was causing the thumb columns not to display well in some remote cases.
- Added a query string parameter called “sgimage” to be able to specify an image to be opened by default through the URL (?sgimage=3).
Can the images in the stage open up to a lightbox?
No, the images do not open in a lightbox.
thank you – very nice and exactly what I wanted – I noticed that there is a collapsing of the thumbs in the second row after a refresh of the window – I played a bit with widths of thumbs and borders etc but still there is this collapsing – please advise
and I think the trouble comes from having a larger than thumbWidth = 157 – is there i reason why it is 157?
Hi. Can you give me a link to where I can look your implementation of the gallery? I don’t understand what you mean by the thumbs in the second row collapsing and it would be useful if I could see it.
Regarding the size of a thumb, it was set so that the thumbs align with the big image when opened. There are 5 thumb columns, each thumb with 157px width and 3px margin in between.
5 * 157px + 4 * 3px = 797px, the with of the gallery and of the big images when opened.
I do not have the sharpgallery online yet – please experiment yourself with the width of the thumb and see how the trouble starts when the thumbwidth is set higher than 157 – by ‘collapsing’ i mean the second thumb in the second bottom row looses its margin – btw: i was also hoping [1] to be able to have no margin at all between the thumbs, but there is only a choice between ‘big:4px’ and ‘small:3px’ and [2] please advise how I can have bigger thumbs, up to 300
1. By default, you have 2 options for margin between thumbs: small (3px) and big (5px).
If you want a different, custom space, you can edit the CSS file.
You can search for styles with the “sg-big-space” class to see an example of how to change the default 3px space.
2. I have tested different thumb dimensions and I have no problems on my end.
Please use the contact email from the guide and send me the JS settings that you are using for your gallery. Also, make a screenshot of the problem and attach it to the email.
In the first message you mentioned collapsing of the thumbs in the second row. In the latest message you mentioned the second thumb in the second bottom row loses its margin. It is best if I actually see what is happening.
I will get back to you once I get your email and test.
am happy with having set margins = 0 for “sg-big-space” – and again: thank you for this beautiful gallery
Glad to see that everything is well now. I presume you figured out the thumb width problem since I didn’t receive and email from you.
If you have any other questions or problems, please don’t hesitate to contact me.
Hi, in the large image how can I adjust to the height a vertical image. It leaves me a very large space below, about twice the height of the image.
In the small image I have solved it.
Sorry, download the new version and it’s fixed.
Interested in this script. But unfortunately here there is no explanation how to use it. How the admin process. Give me a link to try it out.
This is the jQuery version. Are you interested in the WP version? If so, you can find it at the following link and you also have admin screens available in the preview: https://codecanyon.net/item/sharp-gallery-for-wordpress/20183569
A new update was implemented, version 2.0 is live.
I made a series of updates. Among other things, I updated the templates, improved the scrolling animation, fixed a few issues, added some new settings, added version numbering.
For a complete list of changes, see the Updates section on the project page.
Hi, I really like your work and I’m thinking of buying it but I have a question.
I see that all the images in the examples are in horizontal format.
What happens if you put one upright?
Would it break the whole set or would it show up a part in the small photos and the whole picture in large size?
Having a thumbnail with different dimensions is ok and would not break the layout.
There is a setting called “thumbImageScale” which controls how the thumb images are scaled. It can be set to “fit” for the image to be scaled to fit and centered within the available area. In this case, the whole image will be visible.
Or the setting can be set to “fill” which will scale the thumb image to fill all of the available area, while maintaining the aspect ratio. What is out of bounds, will be invisible.
Let me know if this is clear enough and if you have any other questions.
Thank you very much. For the moment is what I needed to know.
Your Live Preview is showing a 500 error right now, FYI.
Thanks for the heads up, I’ll look into it now.
It’s back up now. It was a server side error.
Hello, is it possible to get back the Settings in the “Live preview” ?
Yes, sure. I removed them because I thought it may be too complicated or overwhelming for people or it might slow down a bit the animations of the gallery. I thought I would try a simpler preview for a while, maybe simpler is better.
But I have added a version of the preview files for you with the settings on at the following link: http://creativetier.com/sharp-gallery/gallery-set.php
Thank you !!!!! Great work! I like it
Great work! I like it
very nice work
wish you all the best for your sales !
GLWS! 
Thank you!