Hi again mate. I’ve setup the plugin for my blog and looks great! I need one more thing however. I want to have a link on every gallery “see original post” which will be a link to the post to which the images are attached to. As I see there are two possibilities for this (please feel correct me):
1. Edit the shiba-native.php and add what?
2. Add new meta box custom field in the Gallery post types where I would be able to enter the link manually of the original post I like to show in that certain gallery.
Which case would be better for the job and how would I accomplish that?
It depends on where you want to add the link. The easiest way is probably to hook into post_gallery or img_caption_shortcode and add the link right into the html output.
I’m sorry but my php skills are not so good. Could you elaborate a bit more?
Let me explain a bit more. My intended scenario is the following:
Regular posts mixed with text and pictures. There would be a few sets of three thumbnail images throughout the text and the links of these thumbnail sets would take the user to a seperate gallery page where all of the images of that particular posts are grouped and showed into one big gallery. Much like the galleries on engadget.com. Well those specific gallery which contain all of the images of a specific post should have a link which takes the user back to the original post where the images are reviewed or so. I hope you understand what I’m aiming for.
Engadget is probably the perfect example. It has review posts where a particular product is reviewed and the review is accompanied with images. When a use clicks on an image it takes him to a seperate gallery page which includes all of the images of the post which took you there. Hence the link back from gallery to the post.
Hi again. Managed to get earlier issues fixed but have 2 questions now.
1. Which JS should I look into if I have problem using Shiba Gallery with Fancybox? I am using a theme which currently uses Fancybox for some image animations – when I have thumbnails in galleries the image will open but there is no “next” button.
2. How can I disable titles of images from showing when the page is trying to load Tiny gallery?
1. If you are using Tiny slideshow then js file is in shiba-gallery/tinyss/script2.js
2. I haven’t looked at this in particular, so I can’t say for sure. I would look at using js to change the css visbility, or try asking the TinySS developer.
Very nice plugin – one of the best. I’ve got 2 questions:
1: Can I change the background color from grey to black for the Tiny option? Can’t seem to find which CSS to do the trick.
2: Somehow this plugin seem to load images a bit slower, or its just my server at fault. Anyway to have a “loading” animation while images are loaded?
The background color will be dependent on which frame you are using. You can modify frame css in shiba-gallery-frames.css (compressed) or it may be easier to look in shiba-gallery-frames-dev.css (uncompressed).
As for speed, you can run time benchmarking software to identify what is taking the most time. Make sure you are using compressed images that are saved specifically for the web. Using a wordpress caching plugin can also help.
I’m using the Tiny option. I would like to change the background color of the thumbnails (in the carousel) and also in the image’s background (when some images are smaller the background shows).
Love! Is there a way to combine the noodleslide and the slimeline so that when you click on the large image description in the noodleslide the linked image shows up in the slimeline type window?
i really like your plugin, Please is there a way to tweak your plugin for it to show images attached to post without inserting shortcode in post but use some single php tag in my THEME…? Thanks
You can set your gallery permalink structure from there. However, you will probably need to put in a unique slug (e.g. ‘photo’) so that it doesn’t conflict with existing permalink structures, such as your page permalink structure.
For example you can set your permalink to
/photo/%gallery%
Which means the address will be site/photo/advertising-photography
Awesome plugin – thanks for the work you put into this.
I have a question – while using the slimbox option, is it possible to size the image that the slimbox displays? Also, it is possible to show only one thumbnail for a gallery but when clicked, the slimbox allows cycling through all the images in that gallery?
Hi,
Here’s what I mean to ask and goofed up -
For any gallery of multiple images, is it possible to modify the code to display only one thumbnail (i.e only one image in the gallery display) but then when that thumbnail is clicked the the slimbox opens, the slimbox allows navigation through all the images in the gallery (like how the slimbox behave out of the box today).
If you could even point me in the direction of where the thumbnails for each gallery are created in the code, so that I can find a way to display only one thumbnail, that would be awesome and much appreciated.
Hello. Please help me to configure this plugin. I poprobyval much, but it never happened = ((I have WP 3.2.1 I beg you to send e-mail here or detailed instructions on setting up.
Hello Vadim,
If you let me know what specifically you are having problems with, I can help to troubleshoot the situation. Otherwise, all the relevant instructions should be on this page.
Hello James,
I am not sure why you would want to do that since the gallery functionality is independent of theme components. A theme can certainly take advantage of the plugin by checking if it is available and using some of its inbuilt functions. However, it seems that integrating gallery rendering into a theme would only overload the theme.
In general, I am a big proponent of slimmer themes, so that users have greater flexibility in picking and choosing what functions they want to include or exclude through plugins.
Hi Shiba
“Theme credit links are expected to go to the theme author. I don’t see how a site about dog tips, care and training falls into that category.”
Nowadays I always test out all plugin updates on my test site first. In this way, I can make sure that everything is running smoothly before installing them on my main sites.
Hi,
your gallery plugin is great, exactly what i was looking for, but I have problem in using it. I did upload the plugin and did the settings in Media under Shiba Galleries in Word Press,
now How do I get please Gallery in the Dashboard to be able to upload the photos and create the gallery, than i would like to use it on the page not on post. It is for artist portfolio page. Please help me, i am very new to web and try to create website for my business. I would appreciate your help. thank you
Thank you very much, I just started to create the gallery, and I’ve read your tutorial. Such a great plugin and how beautifully explained. Amazing and clear work.
Hello Keith,
The gallery ID is simply the post or page ID. You can use the ID attribute to display galleries from multiple different posts or pages within a single page.
You can get the post ID by editing the post and then looking up at your address/url bar. It should have something like -
mysite.com/post.php?post=3846&action=edit
You can also just hover your mouse on the post titles while on the Posts screen. That will also show you the edit post URL and the post ID.
Hello Keith,
I tried submitting a theme when I first started playing around with WordPress. One of the replies I got from wordpress.org goes as follows -
Theme credit links are expected to go to the theme author. I don’t see how a site about dog tips, care and training falls into that category.
After a few more exchanges, it became clear that their time and mine would be better spent in other more positive pursuits.
8:58 am on
September 2nd, 2011
Nicole
Hi, I would like to use the PictureSlides “Slideshow only and autoplay” option. Is this possible? Thanks for any help.
Thanks for your help, I have done that and added some other settings but can’t see what setting turns off the thumbnail navigation. Am I missing something?
Some of my posts with galleries also have PDF files uploaded to the post as well, and the gallery plugin is trying to display the PDF in the gallery, leaving an empty box around the “would be” thumbnail.
My question: Is there a way to tell Shiba Gallery to ignore the PDF’s so that they don’t display at all?
I seem to remember there was a parameter for sorting photos? I want to display from newest to oldest. I can’t find that anymore so not sure if it ever existed.
Hi. Does anyone have PHP sample code showing how to page through results, say 10 at a time? I have a gallery that returns too many, so I capped it at 16 but can’t access the additional ones easily.
… by the way, do know the page=”2″ parameter, but the question is how to know if there are further results to continue paging or even how to keep the marker.
could you please direct me to the place that I can remove an empty image, which shows up at the end of the gallery? I have no idea where it came from, because I use your plugin on every site I build and it’s never happened. I managed to remove the link to the image itself, but caption remained and it looked awful. Strange thing…
Hmmm, I didn’t see a gallery when I visited the link. My guess is that the image was deleted, but somehow the attachment object is still hanging around. You want to make sure to delete the attachment object in the Media Library menu.
Hi. I use both Shiba Media Library and Shiba Gallery (I cannot thank you enoigh for these plugins!) on WP 3.0.5 but would like to upgrade to 3.1.1 to use drill-down taxonomies. Are your plugins compatible with 3.1.1?
- any idea how to add a username in a link?
for exampe. site url: http://mysite.com/
now adding a username makes it http://mysite.com/username
note. ...
Hi again mate. I’ve setup the plugin for my blog and looks great! I need one more thing however. I want to have a link on every gallery “see original post” which will be a link to the post to which the images are attached to. As I see there are two possibilities for this (please feel correct me):
1. Edit the shiba-native.php and add what?
2. Add new meta box custom field in the Gallery post types where I would be able to enter the link manually of the original post I like to show in that certain gallery.
Which case would be better for the job and how would I accomplish that?
It depends on where you want to add the link. The easiest way is probably to hook into post_gallery or img_caption_shortcode and add the link right into the html output.
I’m sorry but my php skills are not so good. Could you elaborate a bit more?
Let me explain a bit more. My intended scenario is the following:
Regular posts mixed with text and pictures. There would be a few sets of three thumbnail images throughout the text and the links of these thumbnail sets would take the user to a seperate gallery page where all of the images of that particular posts are grouped and showed into one big gallery. Much like the galleries on engadget.com. Well those specific gallery which contain all of the images of a specific post should have a link which takes the user back to the original post where the images are reviewed or so. I hope you understand what I’m aiming for.
Engadget is probably the perfect example. It has review posts where a particular product is reviewed and the review is accompanied with images. When a use clicks on an image it takes him to a seperate gallery page which includes all of the images of the post which took you there. Hence the link back from gallery to the post.
Hi again. Managed to get earlier issues fixed but have 2 questions now.
1. Which JS should I look into if I have problem using Shiba Gallery with Fancybox? I am using a theme which currently uses Fancybox for some image animations – when I have thumbnails in galleries the image will open but there is no “next” button.
2. How can I disable titles of images from showing when the page is trying to load Tiny gallery?
Thanks again!
1. If you are using Tiny slideshow then js file is in shiba-gallery/tinyss/script2.js
2. I haven’t looked at this in particular, so I can’t say for sure. I would look at using js to change the css visbility, or try asking the TinySS developer.
This is super!!! Many thanks, just a question…
Can you set the default size in functions aswell?
Maybe something like:
define(‘SHIBA_GALLERY_DEFAULT’, ‘popeye’,’500,300′);
(sorry for commenting twice but this posts seems more up2date)
For now you can reset the default size by going into shiba-gallery.php and changing line 486 -
‘size’ => ‘medium’,
I will add a defaults filter and possibly add it into the interface when I update the plugin.
Hi
Very nice plugin – one of the best. I’ve got 2 questions:
1: Can I change the background color from grey to black for the Tiny option? Can’t seem to find which CSS to do the trick.
2: Somehow this plugin seem to load images a bit slower, or its just my server at fault. Anyway to have a “loading” animation while images are loaded?
The background color will be dependent on which frame you are using. You can modify frame css in shiba-gallery-frames.css (compressed) or it may be easier to look in shiba-gallery-frames-dev.css (uncompressed).
As for speed, you can run time benchmarking software to identify what is taking the most time. Make sure you are using compressed images that are saved specifically for the web. Using a wordpress caching plugin can also help.
I’m using the Tiny option. I would like to change the background color of the thumbnails (in the carousel) and also in the image’s background (when some images are smaller the background shows).
Love! Is there a way to combine the noodleslide and the slimeline so that when you click on the large image description in the noodleslide the linked image shows up in the slimeline type window?
Here is a tutorial on how to add and modify the noobslide galleries within the plugin.
http://shibashake.com/wordpress-theme/create-your-own-noobslide-gallery
i really like your plugin, Please is there a way to tweak your plugin for it to show images attached to post without inserting shortcode in post but use some single php tag in my THEME…? Thanks
This renders the gallery using PHP-
Refer to the “Call Shiba Gallery Directly from PHP” section in the article above.
a quick question
Is there a way to eliminate ( ?gallery= ) from the website links
for instance my link at the moment reads
http://www.shaunalexander.net/?gallery=advertising-photography
but I prefer it to be
http://www.shaunalexander.net/advertising-photography
Go into Settings >> Permalinks.
You can set your gallery permalink structure from there. However, you will probably need to put in a unique slug (e.g. ‘photo’) so that it doesn’t conflict with existing permalink structures, such as your page permalink structure.
For example you can set your permalink to
/photo/%gallery%
Which means the address will be site/photo/advertising-photography
Hi Shiba,
Awesome plugin – thanks for the work you put into this.
I have a question – while using the slimbox option, is it possible to size the image that the slimbox displays? Also, it is possible to show only one thumbnail for a gallery but when clicked, the slimbox allows cycling through all the images in that gallery?
Thanks much!
-raaj
I would check out the slimbox site to see if this is possible. Then you can edit shiba-slimbox.php to alter the HTML generated.
Hi,
-
Here’s what I mean to ask and goofed up
For any gallery of multiple images, is it possible to modify the code to display only one thumbnail (i.e only one image in the gallery display) but then when that thumbnail is clicked the the slimbox opens, the slimbox allows navigation through all the images in the gallery (like how the slimbox behave out of the box today).
If you could even point me in the direction of where the thumbnails for each gallery are created in the code, so that I can find a way to display only one thumbnail, that would be awesome and much appreciated.
Thanks much!
-raaj
[...] gallery is generated with the [gallery] short code and created the effects/formatting with the Shiba Gallery plugin. Filed Under: [...]
Hello. Please help me to configure this plugin. I poprobyval much, but it never happened = ((I have WP 3.2.1 I beg you to send e-mail here or detailed instructions on setting up.
Hello Vadim,
If you let me know what specifically you are having problems with, I can help to troubleshoot the situation. Otherwise, all the relevant instructions should be on this page.
hi shiba,you have a very cool plugin.I was wandering whether is it possible if i want to integrate the plugin into the wordpress theme directly?
Hello James,
I am not sure why you would want to do that since the gallery functionality is independent of theme components. A theme can certainly take advantage of the plugin by checking if it is available and using some of its inbuilt functions. However, it seems that integrating gallery rendering into a theme would only overload the theme.
In general, I am a big proponent of slimmer themes, so that users have greater flexibility in picking and choosing what functions they want to include or exclude through plugins.
[...]
WordPress Gallery Plugin | Comment Page 2 [...]
Hi Shiba
“Theme credit links are expected to go to the theme author. I don’t see how a site about dog tips, care and training falls into that category.”
What a shame, but it’s still a great plugin.
First of all, this is a huge plugin, thanks.
Second is it possible that this plugin conflicts with others
JavaScript or jquery inside the theme ??
Conflicts are always possible.
Nowadays I always test out all plugin updates on my test site first. In this way, I can make sure that everything is running smoothly before installing them on my main sites.
Is it possible for me to add a custom javascript gallery just for my use? I found some nice ones here, http://galleria.aino.se/
Hello Brian,
Thanks for the link. The gallery looks pretty slick so I will look into adding it.
You can also add it yourself but it is a non-trivial process that requires a fair amount of familiarity with WordPress. Here are some steps on how to extend the gallery plugin -
http://shibashake.com/wordpress-theme/super-wordpress-gallery-plugin/comment-page-1#comment-1812
Hi Shiba
Came over from the Studiopress forum where Nick the Geek recommended your plugin for creating a gallery.
Examples look great and this site is fantastic.
I’ll give the plugin a try.
Hi,
your gallery plugin is great, exactly what i was looking for, but I have problem in using it. I did upload the plugin and did the settings in Media under Shiba Galleries in Word Press,
now How do I get please Gallery in the Dashboard to be able to upload the photos and create the gallery, than i would like to use it on the page not on post. It is for artist portfolio page. Please help me, i am very new to web and try to create website for my business. I would appreciate your help. thank you
Hello Alice,
The standard way to create wordpress galleries is to attach the images to a post/page. The same process shown in the tutorial below should work on both Posts and Pages.
http://shibashake.hubpages.com/_srec/hub/WordPress-Photo-Gallery
Then you can display the gallery by using the [gallery] shortcode right in the body of the page.
http://codex.wordpress.org/Gallery_Shortcode
Thank you very much, I just started to create the gallery, and I’ve read your tutorial. Such a great plugin and how beautifully explained. Amazing and clear work.
Warm regards
Alice
Hi Shiba
I notice that you use shortcodes that include an ID for a gallery eg. [gallery id="10" type="noobslide_galleria" ]
Where do you find the gallery ID?
I’ve used the method you direct us to above i.e. “attach the images to a post/page”, but I just wondered about the gallery ID.
Just starting to play with your plugin using slimbox and it is so fast!
Thanks for a great plugin.
Hello Keith,
The gallery ID is simply the post or page ID. You can use the ID attribute to display galleries from multiple different posts or pages within a single page.
You can get the post ID by editing the post and then looking up at your address/url bar. It should have something like -
mysite.com/post.php?post=3846&action=edit
You can also just hover your mouse on the post titles while on the Posts screen. That will also show you the edit post URL and the post ID.
Let me know if you run into any problems. Cheers.
Hi Shiba
Thanks for the info.
I’m getting there slowly.
Love your plugin and if it’s recommended by Studiopress… say no more.
If I may, could I ask why your plugin is not in the WordPress repositary?
Any reason?
Hello Keith,
I tried submitting a theme when I first started playing around with WordPress. One of the replies I got from wordpress.org goes as follows -
After a few more exchanges, it became clear that their time and mine would be better spent in other more positive pursuits.
Hi, I would like to use the PictureSlides “Slideshow only and autoplay” option. Is this possible? Thanks for any help.
Edit shiba-pslides.php and add
startSlideshowAtLoad : true,
on line 19, right after
jQuery.PictureSlides.set({
Here are the other settings available for pslides -
http://www.robertnyman.com/picture-slides/implementation.htm
Thanks for your help, I have done that and added some other settings but can’t see what setting turns off the thumbnail navigation. Am I missing something?
To remove thumbnails –
Edit the shiba-pslides.php file.
Comment out lines 115-117
/* $imgStr .= "< li>\n"; $imgStr .= "< a href=\"{$url}\"><img alt='{$image->post_title}'\" src=\"{$thumb[0]}\" style=\"width:{$thumb[1]}px;height:{$thumb[2]}px;padding:{$padding};\"/></a>\n"; $imgStr .= "< /li>\n"; */Thanks for the great plugin! Quick question:
Some of my posts with galleries also have PDF files uploaded to the post as well, and the gallery plugin is trying to display the PDF in the gallery, leaving an empty box around the “would be” thumbnail.
My question: Is there a way to tell Shiba Gallery to ignore the PDF’s so that they don’t display at all?
Thanks in advance for any help!
Try going into shiba-gallery.php and add a ‘post_mime_type’ argument to the $args array on line 514.
Hi, I was wondering if there was any way to include something like a youtube video (or similar embedded media) in a gallery?
That would be a useful function, but it is currently not in the plugin yet. If you decide to add something like this, let me know.
I seem to remember there was a parameter for sorting photos? I want to display from newest to oldest. I can’t find that anymore so not sure if it ever existed.
order and orderby
http://codex.wordpress.org/Gallery_Shortcode
Yes that was it, thanks!
Hi. Does anyone have PHP sample code showing how to page through results, say 10 at a time? I have a gallery that returns too many, so I capped it at 16 but can’t access the additional ones easily.
Any advice?
Cheers!
… by the way, do know the page=”2″ parameter, but the question is how to know if there are further results to continue paging or even how to keep the marker.
The simplest way is probably to do an SQL count using the WordPress wpdb object.
http://codex.wordpress.org/Class_Reference/wpdb
Hi
I need the noobslide gallery , but without the sliding effect. What do I have to change on that piece of code on shiba-noobslide.php?
fxOptions: {
duration: 1000,
transition: “.$shiba_gallery->TRANSITION.”,
wait: false
},
Thanks
Itay
An easy solution is to just set the duration to 0.
If you want to delve more deeply into it -
http://mootools.net/docs/core/Fx/Fx.Transitions#Fx-Transitions
hi there,
could you please direct me to the place that I can remove an empty image, which shows up at the end of the gallery? I have no idea where it came from, because I use your plugin on every site I build and it’s never happened. I managed to remove the link to the image itself, but caption remained and it looked awful. Strange thing…
Here’s the link: http://9punkt.pl/projekt/mtblanc
many thanks for a great plugin
Hmmm, I didn’t see a gallery when I visited the link. My guess is that the image was deleted, but somehow the attachment object is still hanging around. You want to make sure to delete the attachment object in the Media Library menu.
How do you suggest re-ordering images? Not quite sure how to go about it, or maintain it over time.
You can reorder by various image attributes through the orderby and order arguments in the gallery shortcode -
http://codex.wordpress.org/Gallery_Shortcode
WordPress native also supports custom ordering for attached images.
Hi. I use both Shiba Media Library and Shiba Gallery (I cannot thank you enoigh for these plugins!) on WP 3.0.5 but would like to upgrade to 3.1.1 to use drill-down taxonomies. Are your plugins compatible with 3.1.1?
Cheers!
They should be. This site is currently running 3.1.1. However, as always, I would test them out on a test site first.
Thanks! I will test. Fingers crossed.