Home › Forums › Mikmag WordPress theme › Gallery shortcode problems
- This topic has 1 reply, 8 voices, and was last updated 12 years, 3 months ago by John Mansky.
-
AuthorPosts
-
-
at #8428Jane HenleyMember
Hello
I’m using the latest version (1.3.1) version of mikmag but we’re having trouble with the gallery shortcode. We’re using it as follows:
[tdgallery columns=”3″]
[image url=”http://example.com/pic-1.jpg” title=”title” description=”description”]
[image url=http://example.com/pic-2.jpg title=”title” description=”description”]
[image url=”http://example.com/pic-3.jpg” title=”title” description=”description”]
[/tdgallery]Nothing appears in the post.
Can you advice on whether there’s a problem with our syntax or the shortcode itself
Thanks for your help
Speegra
-
at #8477John ManskyMember
Having the same problem. Gallery shortcode displays nothing….
-
at #8484David JamiesonMember
I can also confirm. Gallery shortcode displays an empty page… This is worrisome.
-
at #8496David JamiesonMember
Any info on this? This is important… I can’t use your theme if I can’t implement galleries. Please advise.
-
at #8516adminKeymaster
Hi guys,
Use your image uploader to insert a image and include the <a….
This way you can also set the size of the images etc -
at #8528Jane HenleyMember
Thanks for your advice Mike. I tried it but we didn’t get a great result. The screenshot shows that we’re not getting any benefits of crop/scale that you would normally get with a gallery, and the outline on hover puts the outline around the container rather than the image.
Is there a better way?
-
at #8569AnonymousInactive
at this moment, there are no other gallery shortcodes available in mikmag. the only one would look like what mike showed..
-
at #8599Jane HenleyMember
Thanks for you reply Kevin. I’m a little surprised by it though.
When working with the theme, pressing the MikMag shortcode button generates shortcodes just like the ones that I gave when I opened the thread.
The demo site for this theme shows really nice gallery examples. http://www.responsive-wp-theme.com/gallery/
Can you check again that your response is correct? At the moment we have the impression that this theme is not working as advertised when it comes to galleries.
-
at #8619AnonymousInactive
The theme shown on our preview is an exact copy of the one uploaded to themeforest. Here is a piece of code coming form the page you referred to that might help you understand what we’re doing there. It is the part with the three columns
[tdgallery columns=”3″]
<a href=”http://www.responsive-wp-theme.com/v2/wp-content/uploads/2012/06/371.jpg” rel=”nofollow”> <img class=”alignleft size-full wp-image-2938″ title=”3″ src=”http://www.responsive-wp-theme.com/v2/wp-content/uploads/2012/06/371.jpg” alt=”sample title” width=”700″ height=”525″ /> </a>
<a href=”http://www.responsive-wp-theme.com/v2/wp-content/uploads/2012/06/1011.jpg” rel=”nofollow”> <img class=” wp-image-2933 alignleft” title=”10″ src=”http://www.responsive-wp-theme.com/v2/wp-content/uploads/2012/06/1011.jpg” alt=”” width=”700″ height=”525″ /> </a>
<a href=”http://www.responsive-wp-theme.com/v2/wp-content/uploads/2012/06/451.jpg” rel=”nofollow”> <img class=”size-full wp-image-2939 alignnone” title=”4″ src=”http://www.responsive-wp-theme.com/v2/wp-content/uploads/2012/06/451.jpg” alt=”” width=”700″ height=”525″ /> </a>
[/tdgallery]
[columns] [column third]The City that never sleeps[/column]
[column third]Colors of the wind[/column]
[column third] Lakeside Scene[/column]
[/columns] -
at #8658AnonymousInactive
Hi Kevin,
I’m in the same trap as Jane and although you have put the code above as an example of what to do I have a further issue which is in the middle
<a href=”http://www.responsive-wp-theme.com/v2/wp-content/uploads/2012/06/371.jpg” rel=”nofollow”><img class=”alignleft size-full wp-image-2938″ title=”3″ src=”http://www.responsive-wp-theme.com/v2/wp-content/uploads/2012/06/371.jpg” alt=”sample title” width=”700″ height=”525″ /> </a>where do I find the image id? Without it this code did not work for me.
I think from using other themes and one in particular called Striking my issue is that I have been spoilt to some degree and secondly that there a raft of codes that TD should put together in a similar way to Striking and save yourselves a lot of time and complaints. You have a great looking theme but, shortcodes, shortcodes and shortcodes!!
-
at #8661AnonymousInactive
Ok, I have cracked a workaround.
Use the gallery shortcode: [tdgallery columns=”3″] (choose how many columns you need)
Delete the code between [tdgallery] and [/tdgallery]
Insert an image from the media gallery etc using the wordpress upload/insert image media icon at the top left corner of the page editing panel.I had to go out in the car and it became obvious that this is what Kevin was trying to explain.
-
at #8667AnonymousInactive
Update:
The solution I posted works with restrictions:
You are restricted by the shortcode as to how many images you can show dependent on your page width e.g. you cannot use 6 images if you are using sidebars. If there is not enough space then the short displays nothing.
Unfortunately, using the short code this way does not allow the lightbox function to show the image at its full size. If you click on the image then the lightbox shows the thumbnail and therefore its pointless.I’m left with not using the tdgallery shortcode and instead I’m just using the columns shortcode and placing an image in each column.
This works but I’m also seeing some alignment issues on the left side of my page which makes it look a little untidy. I still like the theme but this lack of shortcode functionality and implementation is poor TD.
-
at #8878XelationMember
Finally got the gallery to work, is there a way to get 5 rows? Already changed shortcodes.php and shortcodes-overlay.php, but without effect (still a hell to manage for me, my client has several gallery’s up to 80 per gallery devided in 2 rows of 5 pictures per page. She even swaps pictures from spot or adds several new ones per month).
2 months ago I asked Mike for the possibility to navigate between pictures within a gallery and a description (generated from media library) underneath each picture. He spoke to Helen and said it would come in version 1.1, it was even live for a while on the ‘live preview’ website. But it never came back?
Hope both are possible, thanks.
-
at #8932AnonymousInactive
Hi,
I spoke to Mike about this, figuring he would know more about it than me, he told me that there are no galleries that scroll to other pages, nor have they ever been present. If you use the lightbox shortcodes (gallery) you will be able to scroll through the gallery from the pop-up with arrows, or via the thumbs. With lightboxes you can get as many rows of thumbs as you’d like.
-
at #11449gail kingswell truemanMember
I got the gallery to work – after a fashion by inserting the <a href="… as per your instructions above BUT I have been unable to get say 6 gallery images to be strung together in the lightbox so i can scimplhy sroll forward and back through the set . in order to view each image in the lightboox i have to view them all individually – which rather defeats the object of having a gallery. Can you provide the additional code needed to get them to use the next / prev buttons in the lightbox please.
Also surely if this is meant to be a shortcode which clearly creates the code using [image url… why do we have to delete that and insert our own <a h ref="… code?
Again this shortcode seems not to be working as the original developer intended.
Can you please offer some support for this or at the very least tell me if this is being fixed in the upcoming 3.5/6 version we are all waiting for?Thanks and regards
Gail
-
at #11451AnonymousInactive
I’ve pointed that out to the developers for you, I agree that it would make more sense for the generated shortcode to display the images.
Kevin
-
at #11452gail kingswell truemanMember
Thanks – I wait to hear progress.
-
-
AuthorPosts
- You must be logged in to reply to this topic.